From 9b55796d56ce6ecd032beece941d5870f9e27b6c Mon Sep 17 00:00:00 2001 From: lateminer Date: Tue, 23 Oct 2018 23:01:33 +0300 Subject: [PATCH] Reduce default number of blocks to check at startup https://github.com/bitcoin/bitcoin/pull/8611 --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.h b/src/main.h index fc4315a55..e8849c7b0 100644 --- a/src/main.h +++ b/src/main.h @@ -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)