aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-06-27 19:08:36 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-10-01 23:16:42 +0000
commitcaa3d42f0689bd945c5b544fe0ebe2ca25acd180 (patch)
treee98cc84329cb652691461d349051139174ecfb0f /src/main.h
parentda894ab5da222ad317039eb008ec6443fb9113d9 (diff)
downloadbitcoin-caa3d42f0689bd945c5b544fe0ebe2ca25acd180.tar.xz
Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index a6001eed8f..7fe004c3a1 100644
--- a/src/main.h
+++ b/src/main.h
@@ -123,6 +123,9 @@ 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 unsigned int DEFAULT_CHECKLEVEL = 3;
+
// Require that user allocate at least 550MB for block & undo files (blk???.dat and rev???.dat)
// At 1MB per block, 288 blocks = 288MB.
// Add 15% for Undo data = 331MB