aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-08-27 15:28:20 +0200
committerPieter Wuille <[email protected]>2016-08-27 15:28:20 +0200
commit203f2121be0a84e85f7dff9cca9a30387005954f (patch)
tree563ffaaecb05ec570045b2d3893afd26e978cd98 /src/main.h
parentMerge #8545: [doc] Update git-subtree-check.sh README (diff)
downloaddiscoin-203f2121be0a84e85f7dff9cca9a30387005954f.tar.xz
discoin-203f2121be0a84e85f7dff9cca9a30387005954f.zip
Reduce default number of blocks to check at startup
Diffstat (limited to 'src/main.h')
-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)