From 3fcfbc8ac5fcba474151ceedf61c4e433e433474 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 13 Mar 2015 09:25:34 -0700 Subject: 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. --- src/main.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.h') 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; -- cgit v1.2.3