Skip to content

Commit 2b23dba

Browse files
committed
Merge #8611: Reduce default number of blocks to check at startup
203f212 Reduce default number of blocks to check at startup (Pieter Wuille)
2 parents 7b98895 + 203f212 commit 2b23dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ extern uint64_t nPruneTarget;
191191
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of chainActive.Tip() will not be pruned. */
192192
static const unsigned int MIN_BLOCKS_TO_KEEP = 288;
193193

194-
static const signed int DEFAULT_CHECKBLOCKS = MIN_BLOCKS_TO_KEEP;
194+
static const signed int DEFAULT_CHECKBLOCKS = 6;
195195
static const unsigned int DEFAULT_CHECKLEVEL = 3;
196196

197197
// Require that user allocate at least 550MB for block & undo files (blk???.dat and rev???.dat)

0 commit comments

Comments
 (0)