52 std::unique_ptr<interfaces::Chain>
chain;
NodeContext struct containing references to chain state and connection state.
std::unique_ptr< CConnman > connman
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< CTxMemPool > mempool
std::unique_ptr< BanMan > banman
std::unique_ptr< avalanche::Processor > avalanche
std::unique_ptr< AddrMan > addrman
std::function< void()> rpc_interruption_point
std::unique_ptr< ChainstateManager > chainman
NodeContext()
Declare default constructor and destructor that are not inline, so code instantiating the NodeContext...
std::unique_ptr< KernelNotifications > notifications
std::unique_ptr< CScheduler > scheduler
interfaces::WalletClient * wallet_client
Reference to chain client that should used to load or create wallets opened by the gui.
std::unique_ptr< PeerManager > peerman
std::unique_ptr< interfaces::Chain > chain