diff options
| author | Pieter Wuille <[email protected]> | 2013-08-29 01:59:35 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-08-29 01:59:35 -0700 |
| commit | ae6eac667baf93b39e1f06726ff5efa98b2505df (patch) | |
| tree | 3e206d4b8a5fead55c5c8bffd61ffb0037dbd261 /src/init.cpp | |
| parent | Merge pull request #2931 from Diapolo/intro (diff) | |
| parent | move Checkpoints:fEnabled from step 2 to step 3 in init (diff) | |
| download | discoin-ae6eac667baf93b39e1f06726ff5efa98b2505df.tar.xz discoin-ae6eac667baf93b39e1f06726ff5efa98b2505df.zip | |
Merge pull request #2940 from Diapolo/checkpoint
move Checkpoints:fEnabled from step 2 to step 3 in init
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 acf6deab8..57e20523b 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); |