diff options
| author | Philip Kaufmann <[email protected]> | 2013-08-25 13:25:21 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2013-08-25 13:25:21 +0200 |
| commit | 60fc1b403444eb0a9e3504c26ae3b9084f001493 (patch) | |
| tree | 8bb002813e019b75b04d0a03604be634e19ec0f5 /src/init.cpp | |
| parent | Merge pull request #2618 from fcicq/solaris-support (diff) | |
| download | discoin-60fc1b403444eb0a9e3504c26ae3b9084f001493.tar.xz discoin-60fc1b403444eb0a9e3504c26ae3b9084f001493.zip | |
move Checkpoints:fEnabled from step 2 to step 3 in init
- it belongs to parameter-to-internal flags step, not parameter
interactions phase
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index db368c7f5..e01d58456 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -377,8 +377,6 @@ bool AppInit2(boost::thread_group& threadGroup) // ********************************************************* Step 2: parameter interactions - Checkpoints::fEnabled = GetBoolArg("-checkpoints", true); - if (mapArgs.count("-bind")) { // when specifying an explicit binding address, you want to listen on it // even when -connect or -proxy is specified @@ -427,6 +425,7 @@ bool AppInit2(boost::thread_group& threadGroup) fDebug = GetBoolArg("-debug", false); fBenchmark = GetBoolArg("-benchmark", false); mempool.fChecks = GetBoolArg("-checkmempool", RegTest()); + Checkpoints::fEnabled = GetBoolArg("-checkpoints", true); // -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency nScriptCheckThreads = GetArg("-par", 0); |