diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2021-04-21 16:39:40 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-12-02 13:15:32 +0700 |
commit | b884ababc29ce963826d8a4327ed6a5e629ff175 (patch) | |
tree | 55b49ff02eec85ec0f133a236c997ede8224c43e /src/rpc/blockchain.h | |
parent | df562d698a386166ef93d03326c0480ea9bc11fe (diff) | |
download | bitcoin-b884ababc29ce963826d8a4327ed6a5e629ff175.tar.xz |
rpc: move Ensure* helpers to server_util.h
Diffstat (limited to 'src/rpc/blockchain.h')
-rw-r--r-- | src/rpc/blockchain.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index 65f6b1429e..13295ffaed 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -18,7 +18,6 @@ extern RecursiveMutex cs_main; class CBlock; class CBlockIndex; -class CBlockPolicyEstimator; class CChainState; class CTxMemPool; class ChainstateManager; @@ -53,14 +52,6 @@ UniValue blockheaderToJSON(const CBlockIndex* tip, const CBlockIndex* blockindex /** Used by getblockstats to get feerates at different percentiles by weight */ void CalculatePercentilesByWeight(CAmount result[NUM_GETBLOCKSTATS_PERCENTILES], std::vector<std::pair<CAmount, int64_t>>& scores, int64_t total_weight); -NodeContext& EnsureAnyNodeContext(const std::any& context); -CTxMemPool& EnsureMemPool(const NodeContext& node); -CTxMemPool& EnsureAnyMemPool(const std::any& context); -ChainstateManager& EnsureChainman(const NodeContext& node); -ChainstateManager& EnsureAnyChainman(const std::any& context); -CBlockPolicyEstimator& EnsureFeeEstimator(const NodeContext& node); -CBlockPolicyEstimator& EnsureAnyFeeEstimator(const std::any& context); - /** * Helper to create UTXO snapshots given a chainstate and a file handle. * @return a UniValue map containing metadata about the snapshot. |