Merge ac219dcbcc into merged_master (Bitcoin PR bitcoin/bitcoin#19160)

This commit is contained in:
Andrew Poelstra 2021-07-01 13:29:36 +00:00
commit 5f0c45b568
30 changed files with 805 additions and 13 deletions

View file

@ -22,6 +22,7 @@ class PeerManager;
namespace interfaces {
class Chain;
class ChainClient;
class Init;
class WalletClient;
} // namespace interfaces
@ -36,6 +37,8 @@ class WalletClient;
//! any member functions. It should just be a collection of references that can
//! be used without pulling in unwanted dependencies or functionality.
struct NodeContext {
//! Init interface for initializing current process and connecting to other processes.
interfaces::Init* init{nullptr};
std::unique_ptr<CAddrMan> addrman;
std::unique_ptr<CConnman> connman;
std::unique_ptr<CTxMemPool> mempool;