mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add DefaultCheckMemPool chain parameter
This commit is contained in:
parent
2595b9ac23
commit
cb9bd83bba
3 changed files with 5 additions and 1 deletions
|
|
@ -517,7 +517,8 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||
InitWarning(_("Warning: Deprecated argument -debugnet ignored, use -debug=net"));
|
||||
|
||||
fBenchmark = GetBoolArg("-benchmark", false);
|
||||
mempool.setSanityCheck(GetBoolArg("-checkmempool", RegTest()));
|
||||
// Checkmempool defaults to true in regtest mode
|
||||
mempool.setSanityCheck(GetBoolArg("-checkmempool", Params().DefaultCheckMemPool()));
|
||||
Checkpoints::fEnabled = GetBoolArg("-checkpoints", true);
|
||||
|
||||
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue