aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-09-15 16:16:56 -0400
committerCarl Dong <contact@carldong.me>2021-03-01 17:56:07 -0500
commit31eac50c721dd3b0bd2347e76196bf16913e9be9 (patch)
treed9712e82d978f0bfc840c5a837a1d758f3288e66 /src/validation.h
parent63e4c7316a537900f525e221d8042587b443cc3d (diff)
downloadbitcoin-31eac50c721dd3b0bd2347e76196bf16913e9be9.tar.xz
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
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h9
1 files changed, 0 insertions, 9 deletions
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);