5 #ifndef BITCOIN_NODE_CONTEXT_H 6 #define BITCOIN_NODE_CONTEXT_H 50 std::unique_ptr<interfaces::Chain>
chain;
66 #endif // BITCOIN_NODE_CONTEXT_H std::vector< std::unique_ptr< interfaces::ChainClient > > chain_clients
List of all chain clients (wallet processes or other client) connected to node.
std::unique_ptr< BanMan > banman
Provides an interface for creating and interacting with one or two chainstates: an IBD chainstate gen...
std::unique_ptr< CTxMemPool > mempool
std::unique_ptr< ChainstateManager > chainman
std::unique_ptr< interfaces::Chain > chain
Wallet chain client that in addition to having chain client methods for starting up, shutting down, and registering RPCs, also has additional methods (called by the GUI) to load and create wallets.
std::function< void()> rpc_interruption_point
Stochastical (IP) address manager.
NodeContext struct containing references to chain state and connection state.
std::unique_ptr< CConnman > connman
The BlockPolicyEstimator is used for estimating the feerate needed for a transaction to be included i...
interfaces::WalletClient * wallet_client
Reference to chain client that should used to load or create wallets opened by the gui...
NodeContext()
Declare default constructor and destructor that are not inline, so code instantiating the NodeContext...
std::unique_ptr< PeerManager > peerman
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
std::unique_ptr< CBlockPolicyEstimator > fee_estimator
std::unique_ptr< CAddrMan > addrman
Initial interface created when a process is first started, and used to give and get access to other i...
Simple class for background tasks that should be run periodically or once "after a while"...
std::unique_ptr< CScheduler > scheduler