aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2019-12-12 10:28:14 -0500
committerJames O'Beirne <james.obeirne@pm.me>2020-03-17 14:03:40 -0400
commit5b690f0aae21e7d46cbefe3f5be645842ac4ae3b (patch)
treef400ff724c4d23acaff44dd9820854e00cbdafdb /src/validation.h
parent89cdf4d5692d396b8c7177b3918aa9dab07f9624 (diff)
downloadbitcoin-5b690f0aae21e7d46cbefe3f5be645842ac4ae3b.tar.xz
refactor: move RewindBlockIndex to CChainState
This is in preparation for multiple chainstate initialization in init.
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/validation.h b/src/validation.h
index 35e4380bc0..3b160ac799 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -380,9 +380,6 @@ bool TestBlockValidity(BlockValidationState& state, const CChainParams& chainpar
* Note that transaction witness validation rules are always enforced when P2SH is enforced. */
bool IsWitnessEnabled(const CBlockIndex* pindexPrev, const Consensus::Params& params);
-/** When there are blocks in the active chain with missing data, rewind the chainstate and remove them from the block index */
-bool RewindBlockIndex(const CChainParams& params) LOCKS_EXCLUDED(cs_main);
-
/** Compute at which vout of the block's coinbase transaction the witness commitment occurs, or -1 if not found */
int GetWitnessCommitmentIndex(const CBlock& block);