Move ::fCheckpointsEnabled into ChainstateManager

This commit is contained in:
MacroFake
2022-07-26 13:52:48 +02:00
parent cccca83099
commit fa43188d86
5 changed files with 5 additions and 5 deletions

View File

@@ -935,7 +935,6 @@ bool AppInitParameterInteraction(const ArgsManager& args, bool use_syscall_sandb
init::SetLoggingLevel(args);
fCheckBlockIndex = args.GetBoolArg("-checkblockindex", chainparams.DefaultConsistencyChecks());
fCheckpointsEnabled = args.GetBoolArg("-checkpoints", DEFAULT_CHECKPOINTS_ENABLED);
// block pruning; get the amount of disk space (in MiB) to allot for block & undo files
int64_t nPruneArg = args.GetIntArg("-prune", 0);