diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-30 13:38:12 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-08-30 13:38:42 +0200 |
commit | 2b23dbaee5b88d7237144e14eff01391e2cc201d (patch) | |
tree | 6774c157b6b55dc09938cd0b541e9fa531a99cc4 /src | |
parent | 7b98895865013ed248f3aec4f001c31018b75564 (diff) | |
parent | 203f2121be0a84e85f7dff9cca9a30387005954f (diff) | |
download | bitcoin-2b23dbaee5b88d7237144e14eff01391e2cc201d.tar.xz |
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.h | 2 |
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) |