@ -100,7 +100,7 @@ CClientUIInterface uiInterface; // Declared but not defined in ui_interface.h
// Thread management and startup/shutdown:
//
// The network-processing threads are all part of a thread group
// created by AppInit() or the Qt main() function .
// created by AppInit().
//
// A clean exit happens when StartShutdown() or the SIGTERM
// signal handler sets fRequestShutdown, which triggers
@ -116,10 +116,6 @@ CClientUIInterface uiInterface; // Declared but not defined in ui_interface.h
// before adding any threads to the threadGroup, so .join_all() returns
// immediately and the parent exits from main().
//
// Shutdown for Qt is very similar, only it uses a QTimer to detect
// fRequestShutdown getting set, and then does the normal Qt
// shutdown thing.
//
std : : atomic < bool > fRequestShutdown ( false ) ;
@ -410,9 +406,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage + = HelpMessageOpt ( " -stopafterblockimport " , strprintf ( " Stop running after importing blocks from disk (default: %u) " , 0 ) ) ;
}
string debugCategories = " addrman, alert, bench, coindb, db, estimatefee, lock, mempool, net, partitioncheck, pow, proxy, prune, "
" rand, reindex, rpc, selectcoins, zmq, zrpc, zrpcunsafe (implies zrpc) " ; // Don't translate these and qt below
if ( mode = = HMM_BITCOIN_QT )
debugCategories + = " , qt " ;
" rand, reindex, rpc, selectcoins, zmq, zrpc, zrpcunsafe (implies zrpc) " ; // Don't translate these
strUsage + = HelpMessageOpt ( " -debug=<category> " , strprintf ( _ ( " Output debugging information (default: %u, supplying <category> is optional) " ) , 0 ) + " . " +
_ ( " If <category> is not supplied or if <category> = 1, output all debugging information. " ) + " " + _ ( " <category> can be: " ) + " " + debugCategories + " . " ) ;
strUsage + = HelpMessageOpt ( " -experimentalfeatures " , _ ( " Enable use of experimental features " ) ) ;
@ -487,18 +481,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage + = HelpMessageOpt ( " -rpcsslprivatekeyfile=<file.pem> " , strprintf ( _ ( " Server private key (default: %s) " ) , " server.pem " ) ) ;
strUsage + = HelpMessageOpt ( " -rpcsslciphers=<ciphers> " , strprintf ( _ ( " Acceptable ciphers (default: %s) " ) , " TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH " ) ) ;
if ( mode = = HMM_BITCOIN_QT )
{
strUsage + = HelpMessageGroup ( _ ( " UI Options: " ) ) ;
if ( showDebug ) {
strUsage + = HelpMessageOpt ( " -allowselfsignedrootcertificates " , " Allow self signed root certificates (default: 0) " ) ;
}
strUsage + = HelpMessageOpt ( " -choosedatadir " , _ ( " Choose data directory on startup (default: 0) " ) ) ;
strUsage + = HelpMessageOpt ( " -lang=<lang> " , _ ( " Set language, for example \" de_DE \" (default: system locale) " ) ) ;
strUsage + = HelpMessageOpt ( " -min " , _ ( " Start minimized " ) ) ;
strUsage + = HelpMessageOpt ( " -rootcertificates=<file> " , _ ( " Set SSL root certificates for payment request (default: -system-) " ) ) ;
strUsage + = HelpMessageOpt ( " -splash " , _ ( " Show splash screen on startup (default: 1) " ) ) ;
} else if ( mode = = HMM_BITCOIND ) {
if ( mode = = HMM_BITCOIND ) {
strUsage + = HelpMessageGroup ( _ ( " Metrics Options (only if -daemon and -printtoconsole are not set): " ) ) ;
strUsage + = HelpMessageOpt ( " -showmetrics " , _ ( " Show metrics on stdout (default: 1 if running in a console, 0 otherwise) " ) ) ;
strUsage + = HelpMessageOpt ( " -metricsui " , _ ( " Set to 1 for a persistent metrics screen, 0 for sequential metrics output (default: 1 if running in a console, 0 otherwise) " ) ) ;