5 #ifndef BITCOIN_RPC_SERVER_UTIL_H 6 #define BITCOIN_RPC_SERVER_UTIL_H 48 #endif // BITCOIN_RPC_SERVER_UTIL_H AddrMan & EnsureAnyAddrman(const std::any &context)
Provides an interface for creating and interacting with one or two chainstates: an IBD chainstate gen...
BanMan & EnsureAnyBanman(const std::any &context)
CTxMemPool & EnsureAnyMemPool(const std::any &context)
CConnman & EnsureConnman(const node::NodeContext &node)
ArgsManager & EnsureAnyArgsman(const std::any &context)
Stochastic address manager.
NodeContext struct containing references to chain state and connection state.
Interface giving clients (RPC, Stratum v2 Template Provider in the future) ability to create block te...
ArgsManager & EnsureArgsman(const node::NodeContext &node)
The BlockPolicyEstimator is used for estimating the feerate needed for a transaction to be included i...
PeerManager & EnsurePeerman(const node::NodeContext &node)
Parameters that influence chain consensus.
CTxMemPool & EnsureMemPool(const node::NodeContext &node)
node::NodeContext & EnsureAnyNodeContext(const std::any &context)
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
AddrMan & EnsureAddrman(const node::NodeContext &node)
The block chain is a tree shaped structure starting with the genesis block at the root...
interfaces::Mining & EnsureMining(const node::NodeContext &node)
ChainstateManager & EnsureAnyChainman(const std::any &context)
CBlockPolicyEstimator & EnsureAnyFeeEstimator(const std::any &context)
void NextEmptyBlockIndex(CBlockIndex &tip, const Consensus::Params &consensusParams, CBlockIndex &next_index)
Return an empty block index on top of the tip, with height, time and nBits set.
CBlockPolicyEstimator & EnsureFeeEstimator(const node::NodeContext &node)
BanMan & EnsureBanman(const node::NodeContext &node)
ChainstateManager & EnsureChainman(const node::NodeContext &node)