aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-02-15 11:27:39 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-02-15 11:12:05 +0100
commitfa8dad0e078c577d740a9667636733957586c035 (patch)
treed9b1b7d782ec89278df5f0f3e584cd7a659b70a3 /src/validation.h
parent7164e00e1bc4e30e69b38a7ba9c557d4fc5d5f87 (diff)
rpc: Fix implicit-integer-sign-change in verifychain
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h
index fdfd29d1f8..18ecf5a012 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -90,7 +90,7 @@ static const int DEFAULT_STOPATHEIGHT = 0;
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of ActiveChain().Tip() will not be pruned. */
static const unsigned int MIN_BLOCKS_TO_KEEP = 288;
static const signed int DEFAULT_CHECKBLOCKS = 6;
-static const unsigned int DEFAULT_CHECKLEVEL = 3;
+static constexpr int DEFAULT_CHECKLEVEL{3};
// Require that user allocate at least 550 MiB for block & undo files (blk???.dat and rev???.dat)
// At 1MB per block, 288 blocks = 288MB.
// Add 15% for Undo data = 331MB