aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-03-13 09:25:34 -0700
committerPieter Wuille <[email protected]>2015-03-27 13:38:48 -0700
commit3fcfbc8ac5fcba474151ceedf61c4e433e433474 (patch)
tree669f0294f92722ef5ee4df8b98a6ad4ba570ea0e /src/main.h
parentMerge pull request #5876 (diff)
downloaddiscoin-3fcfbc8ac5fcba474151ceedf61c4e433e433474.tar.xz
discoin-3fcfbc8ac5fcba474151ceedf61c4e433e433474.zip
Add a consistency check for the block chain data structures
This adds a -checkblockindex (defaulting to true for regtest), which occasionally does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and mapBlocksUnlinked.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index ac73b242f..73a31d6d7 100644
--- a/src/main.h
+++ b/src/main.h
@@ -123,6 +123,7 @@ extern bool fReindex;
extern int nScriptCheckThreads;
extern bool fTxIndex;
extern bool fIsBareMultisigStd;
+extern bool fCheckBlockIndex;
extern unsigned int nCoinCacheSize;
extern CFeeRate minRelayTxFee;