From 31eac50c721dd3b0bd2347e76196bf16913e9be9 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Tue, 15 Sep 2020 16:16:56 -0400 Subject: validation: Remove global ::VersionBitsTip{State,SinceHeight,Statistics} Tip: versionbitscache is currently a global so we didn't need to pass it in to any of ::VersionBitsTip*'s callers --- src/validation.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index 9855c131e1..91f2de6302 100644 --- a/src/validation.h +++ b/src/validation.h @@ -226,15 +226,6 @@ struct MempoolAcceptResult { MempoolAcceptResult AcceptToMemoryPool(CChainState& active_chainstate, CTxMemPool& pool, const CTransactionRef& tx, bool bypass_limits, bool test_accept=false) EXCLUSIVE_LOCKS_REQUIRED(cs_main); -/** Get the BIP9 state for a given deployment at the current tip. */ -ThresholdState VersionBitsTipState(const Consensus::Params& params, Consensus::DeploymentPos pos); - -/** Get the numerical statistics for the BIP9 state for a given deployment at the current tip. */ -BIP9Stats VersionBitsTipStatistics(const Consensus::Params& params, Consensus::DeploymentPos pos); - -/** Get the block height at which the BIP9 deployment switched into the state for the block building on the current tip. */ -int VersionBitsTipStateSinceHeight(const Consensus::Params& params, Consensus::DeploymentPos pos); - /** Apply the effects of this transaction on the UTXO set represented by view */ void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight); -- cgit v1.2.3