aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-08-30 13:38:12 +0200
committerWladimir J. van der Laan <[email protected]>2016-08-30 13:38:42 +0200
commit2b23dbaee5b88d7237144e14eff01391e2cc201d (patch)
tree6774c157b6b55dc09938cd0b541e9fa531a99cc4 /src
parentMerge #8566: Easy to use gitian building script (diff)
parentReduce default number of blocks to check at startup (diff)
downloaddiscoin-2b23dbaee5b88d7237144e14eff01391e2cc201d.tar.xz
discoin-2b23dbaee5b88d7237144e14eff01391e2cc201d.zip
Merge #8611: Reduce default number of blocks to check at startup
203f212 Reduce default number of blocks to check at startup (Pieter Wuille)
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 e9106fccf..b22c64240 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)