diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-13 09:25:34 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-03-27 17:24:07 -0700 |
commit | a1f425b48bb3c2c2e8b3ee00c1020bc18dc70a26 (patch) | |
tree | cc56057330297065648d132cd862aceccfd5f5aa /src/main.h | |
parent | 4635a4c4e7b706f4fab35a06cf2782d55a11b1b8 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index e4096e9612..71f21716d0 100644 --- a/src/main.h +++ b/src/main.h @@ -126,6 +126,7 @@ extern bool fReindex; extern int nScriptCheckThreads; extern bool fTxIndex; extern bool fIsBareMultisigStd; +extern bool fCheckBlockIndex; extern unsigned int nCoinCacheSize; extern CFeeRate minRelayTxFee; |