mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-23 21:34:45 +00:00
Merge pull request #2940 from Diapolo/checkpoint
move Checkpoints:fEnabled from step 2 to step 3 in init
This commit is contained in:
commit
ae6eac667b
@ -377,8 +377,6 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||||||
|
|
||||||
// ********************************************************* Step 2: parameter interactions
|
// ********************************************************* Step 2: parameter interactions
|
||||||
|
|
||||||
Checkpoints::fEnabled = GetBoolArg("-checkpoints", true);
|
|
||||||
|
|
||||||
if (mapArgs.count("-bind")) {
|
if (mapArgs.count("-bind")) {
|
||||||
// when specifying an explicit binding address, you want to listen on it
|
// when specifying an explicit binding address, you want to listen on it
|
||||||
// even when -connect or -proxy is specified
|
// even when -connect or -proxy is specified
|
||||||
@ -427,6 +425,7 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||||||
fDebug = GetBoolArg("-debug", false);
|
fDebug = GetBoolArg("-debug", false);
|
||||||
fBenchmark = GetBoolArg("-benchmark", false);
|
fBenchmark = GetBoolArg("-benchmark", false);
|
||||||
mempool.fChecks = GetBoolArg("-checkmempool", RegTest());
|
mempool.fChecks = GetBoolArg("-checkmempool", RegTest());
|
||||||
|
Checkpoints::fEnabled = GetBoolArg("-checkpoints", true);
|
||||||
|
|
||||||
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
|
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
|
||||||
nScriptCheckThreads = GetArg("-par", 0);
|
nScriptCheckThreads = GetArg("-par", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user