Mempool consistency check

This commit is contained in:
Pieter Wuille
2013-08-03 13:08:34 +02:00
committed by Pieter Wuille
parent f0784ac470
commit 2461aba1ac
4 changed files with 52 additions and 0 deletions

View File

@@ -424,6 +424,7 @@ bool AppInit2(boost::thread_group& threadGroup)
fDebug = GetBoolArg("-debug", false);
fBenchmark = GetBoolArg("-benchmark", false);
mempool.fChecks = GetBoolArg("-checkmempool", RegTest());
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
nScriptCheckThreads = GetArg("-par", 0);