src/qt/rpcconsole.cpp
/** Build command-line parameter list for restart */
Build command-line parameter list for restart
Build command - line parameter list for restart
void RPCConsole::buildParameterlist(QString arg)
{
    QStringList args = QApplication::arguments();
    args.removeFirst();
    args.removeAll(SALVAGEWALLET);
    args.removeAll(RESCAN);
    args.removeAll(ZAPTXES1);
    args.removeAll(ZAPTXES2);
    args.removeAll(UPGRADEWALLET);
    args.removeAll(REINDEX);
    args.append(arg);
    emit handleRestart(args);
}
void RPCConsole :: buildParameterlist ( QString arg ) { QStringList args = QApplication :: arguments ( ) ; args . removeFirst ( ) ; args . removeAll ( SALVAGEWALLET ) ; args . removeAll ( RESCAN ) ; args . removeAll ( ZAPTXES1 ) ; args . removeAll ( ZAPTXES2 ) ; args . removeAll ( UPGRADEWALLET ) ; args . removeAll ( REINDEX ) ; args . append ( arg ) ; emit handleRestart ( args ) ; }
Build command-line parameter list for restart
Build command - line parameter list for restart
// Get command-line arguments and remove the application name // Remove existing repair-options // Append repair parameter to command line. // Send command-line arguments to BitcoinGUI::handleRestart()