File tree Expand file tree Collapse file tree 3 files changed +0
-43
lines changed Expand file tree Collapse file tree 3 files changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,6 @@ bool DiagnosticsDialog::VerifyBoincPath()
4242 return boost::filesystem::exists (boincPath) ? true : false ;
4343}
4444
45- bool DiagnosticsDialog::FindCPID ()
46- {
47- std::string cpid = GetArgument (" PrimaryCPID" , " " );
48-
49- return IsResearcher (cpid) ? true : false ;
50- }
51-
5245bool DiagnosticsDialog::VerifyIsCPIDValid ()
5346{
5447 boost::filesystem::path clientStatePath = GetBoincDataDir ();
@@ -216,19 +209,6 @@ void DiagnosticsDialog::on_testButton_clicked()
216209 else
217210 ui->boincPathResultLabel ->setText (" Failed" );
218211
219- // find cpid
220- #ifndef WIN32
221- ui->findCPIDResultLabel ->setText (" N/A" );
222- #else
223- ui->findCPIDResultLabel ->setText (" Testing..." );
224- this ->repaint ();
225-
226- if (FindCPID ())
227- ui->findCPIDResultLabel ->setText (QString::fromStdString (" Passed CPID: " + GetArgument (" PrimaryCPID" , " " )));
228-
229- else
230- ui->findCPIDResultLabel ->setText (" Failed (Is PrimaryCPID in gridcoinresearch.conf?)" );
231- #endif
232212 // cpid valid
233213 ui->verifyCPIDValidResultLabel ->setText (" Testing..." );
234214 this ->repaint ();
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ class DiagnosticsDialog : public QDialog
2727 bool VerifyCPIDIsInNeuralNetwork ();
2828 bool VerifyWalletIsSynced ();
2929 bool VerifyIsCPIDValid ();
30- bool FindCPID ();
3130 bool VerifyCPIDHasRAC ();
3231 int VerifyCountSeedNodes ();
3332 int VerifyCountConnections ();
Original file line number Diff line number Diff line change 162162 </property >
163163 </widget >
164164 </item >
165- <item row =" 2" column =" 1" >
166- <widget class =" QLabel" name =" findCPIDResultLabel" >
167- <property name =" sizePolicy" >
168- <sizepolicy hsizetype =" MinimumExpanding" vsizetype =" Preferred" >
169- <horstretch >0</horstretch >
170- <verstretch >0</verstretch >
171- </sizepolicy >
172- </property >
173- <property name =" minimumSize" >
174- <size >
175- <width >200</width >
176- <height >0</height >
177- </size >
178- </property >
179- <property name =" text" >
180- <string />
181- </property >
182- <property name =" wordWrap" >
183- <bool >true</bool >
184- </property >
185- </widget >
186- </item >
187165 <item row =" 4" column =" 1" >
188166 <widget class =" QLabel" name =" verifyCPIDHasRACResultLabel" >
189167 <property name =" sizePolicy" >
You can’t perform that action at this time.
0 commit comments