aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-08-27 15:28:20 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2016-08-27 15:28:20 +0200
commit203f2121be0a84e85f7dff9cca9a30387005954f (patch)
tree563ffaaecb05ec570045b2d3893afd26e978cd98
parentc072b8fd95cd4fa84f08189a0cd8b173ea2dbb8e (diff)
Reduce default number of blocks to check at startup
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index e9106fccf7..b22c642404 100644
--- a/src/main.h
+++ b/src/main.h
@@ -191,7 +191,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)