aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-04-14 10:34:50 -0400
committerCarl Dong <contact@carldong.me>2021-04-14 11:10:08 -0400
commit038854f31e3511e8bb6e163305cab0a96783d25b (patch)
tree21835a5fe6970e28b74ab4da5ec5a778bcc75431 /src/rpc/blockchain.h
parent6fb65b49f4d393b091479be5a5df5a0a160cf986 (diff)
downloadbitcoin-038854f31e3511e8bb6e163305cab0a96783d25b.tar.xz
rest/rpc: Remove now-unused old Ensure functions
The scripted-diff in the previous commit should have removed all calls to functions like: Ensure(?!Any)\(const std::any& (context|ctx)\), so we can remove them now.
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r--src/rpc/blockchain.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h
index 3ac15c869d..ffb6f03b47 100644
--- a/src/rpc/blockchain.h
+++ b/src/rpc/blockchain.h
@@ -56,16 +56,12 @@ void CalculatePercentilesByWeight(CAmount result[NUM_GETBLOCKSTATS_PERCENTILES],
void ScriptPubKeyToUniv(const CScript& scriptPubKey, UniValue& out, bool fIncludeHex);
void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, bool include_hex = true, int serialize_flags = 0, const CTxUndo* txundo = nullptr);
-NodeContext& EnsureNodeContext(const std::any& context);
NodeContext& EnsureAnyNodeContext(const std::any& context);
CTxMemPool& EnsureMemPool(const NodeContext& node);
-CTxMemPool& EnsureMemPool(const std::any& context);
CTxMemPool& EnsureAnyMemPool(const std::any& context);
ChainstateManager& EnsureChainman(const NodeContext& node);
-ChainstateManager& EnsureChainman(const std::any& context);
ChainstateManager& EnsureAnyChainman(const std::any& context);
CBlockPolicyEstimator& EnsureFeeEstimator(const NodeContext& node);
-CBlockPolicyEstimator& EnsureFeeEstimator(const std::any& context);
CBlockPolicyEstimator& EnsureAnyFeeEstimator(const std::any& context);
/**