mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Merge #8611: Reduce default number of blocks to check at startup
203f212
Reduce default number of blocks to check at startup (Pieter Wuille)
This commit is contained in:
parent
40202ef819
commit
f6658c07f3
@ -209,7 +209,7 @@ extern uint64_t nPruneTarget;
|
|||||||
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of chainActive.Tip() will not be pruned. */
|
/** 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 = 288;
|
static const unsigned int MIN_BLOCKS_TO_KEEP = 288;
|
||||||
|
|
||||||
static const signed int DEFAULT_CHECKBLOCKS = MIN_BLOCKS_TO_KEEP;
|
static const signed int DEFAULT_CHECKBLOCKS = 6;
|
||||||
static const unsigned int DEFAULT_CHECKLEVEL = 3;
|
static const unsigned int DEFAULT_CHECKLEVEL = 3;
|
||||||
|
|
||||||
// Require that user allocate at least 945MB for block & undo files (blk???.dat and rev???.dat)
|
// Require that user allocate at least 945MB for block & undo files (blk???.dat and rev???.dat)
|
||||||
|
Loading…
Reference in New Issue
Block a user