Browse Source

Merge pull request #5172

eadcd0c Print parameter interactions to console, too (Matt Corallo)
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
d5e5d1412e
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 7
      src/init.cpp

7
src/init.cpp

@ -548,6 +548,10 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -548,6 +548,10 @@ bool AppInit2(boost::thread_group& threadGroup)
#endif
// ********************************************************* Step 2: parameter interactions
// Set this early so that parameter interactions go to console
fPrintToConsole = GetBoolArg("-printtoconsole", false);
fLogTimestamps = GetBoolArg("-logtimestamps", true);
fLogIPs = GetBoolArg("-logips", false);
if (mapArgs.count("-bind") || mapArgs.count("-whitebind")) {
// when specifying an explicit binding address, you want to listen on it
@ -641,9 +645,6 @@ bool AppInit2(boost::thread_group& threadGroup) @@ -641,9 +645,6 @@ bool AppInit2(boost::thread_group& threadGroup)
nScriptCheckThreads = MAX_SCRIPTCHECK_THREADS;
fServer = GetBoolArg("-server", false);
fPrintToConsole = GetBoolArg("-printtoconsole", false);
fLogTimestamps = GetBoolArg("-logtimestamps", true);
fLogIPs = GetBoolArg("-logips", false);
#ifdef ENABLE_WALLET
bool fDisableWallet = GetBoolArg("-disablewallet", false);
#endif

Loading…
Cancel
Save