aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-08-27 15:28:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-09 12:04:55 +0200
commita9429ca26dd8f4555def2dc8bd8ea7fc4e32fce6 (patch)
tree602d169c9c5ac4be840c954bc109ab3c6657aeed /src
parent32269449185d64d96900a503e73439060dae19f2 (diff)
downloadbitcoin-a9429ca26dd8f4555def2dc8bd8ea7fc4e32fce6.tar.xz
Reduce default number of blocks to check at startup
Github-Pull: #8611 Rebased-From: 203f2121be0a84e85f7dff9cca9a30387005954f
Diffstat (limited to 'src')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index cbce34290a..8cae9c953f 100644
--- a/src/main.h
+++ b/src/main.h
@@ -192,7 +192,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 = 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;
// Require that user allocate at least 550MB for block & undo files (blk???.dat and rev???.dat)