Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method

This commit is contained in:
Luke Dashjr
2015-06-27 19:08:36 +00:00
parent da894ab5da
commit caa3d42f06
3 changed files with 13 additions and 10 deletions

View File

@@ -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