aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-26 12:59:48 +0200
committerMacroFake <falke.marco@gmail.com>2022-10-18 14:11:48 +0200
commitfa7c834b9f988fa7f2ace2d67b1628211b7819df (patch)
treea8c19c847f5b38b3660b1177a2ffbcf001fda151 /src/init.cpp
parentfa43188d86288fa6666307a77c106c8f069ebdbe (diff)
Move ::fCheckBlockIndex into ChainstateManager
This changes the flag for the bitcoin-chainstate executable. Previously it was false, now it is the chain's default value (still false for the main chain).
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 2294018125..041fb9a6d1 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -934,8 +934,6 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb
init::SetLoggingCategories(args);
init::SetLoggingLevel(args);
- fCheckBlockIndex = args.GetBoolArg("-checkblockindex", chainparams.DefaultConsistencyChecks());
-
// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
int64_t nPruneArg = args.GetIntArg("-prune", 0);
if (nPruneArg < 0) {