Remove mempool global

This commit is contained in:
MarcoFalke
2020-07-19 20:30:46 +02:00
parent fa0359c5b3
commit fafb381af8
8 changed files with 11 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ class WalletClient;
//! be used without pulling in unwanted dependencies or functionality.
struct NodeContext {
std::unique_ptr<CConnman> connman;
CTxMemPool* mempool{nullptr}; // Currently a raw pointer because the memory is not managed by this struct
std::unique_ptr<CTxMemPool> mempool;
std::unique_ptr<PeerLogicValidation> peer_logic;
ChainstateManager* chainman{nullptr}; // Currently a raw pointer because the memory is not managed by this struct
std::unique_ptr<BanMan> banman;