Reduce default number of blocks to check at startup

https://github.com/bitcoin/bitcoin/pull/8611
This commit is contained in:
lateminer
2018-10-23 23:01:33 +03:00
parent 8a98c894d4
commit 9b55796d56

View File

@@ -199,7 +199,7 @@ extern uint64_t nPruneTarget;
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of chainActive.Tip() will not be pruned. */
static const unsigned int MIN_BLOCKS_TO_KEEP = 500;
static const signed int DEFAULT_CHECKBLOCKS = MIN_BLOCKS_TO_KEEP;
static const signed int DEFAULT_CHECKBLOCKS = 50;
static const unsigned int DEFAULT_CHECKLEVEL = 3;
// Require that user allocate at least 550MB for block & undo files (blk???.dat and rev???.dat)