diff options
author | Carl Dong <contact@carldong.me> | 2020-10-06 17:35:11 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-06-10 15:05:25 -0400 |
commit | 6f994882deafe62e97f0a889d8bdb8c96dcf913d (patch) | |
tree | b7146c5915735a43da76340c665928441137bd49 /src/node/context.h | |
parent | 972c5166ee685447a6d4bf5e501b07a0871fba85 (diff) |
validation: Farewell, global Chainstate!
Diffstat (limited to 'src/node/context.h')
-rw-r--r-- | src/node/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/context.h b/src/node/context.h index 06adb33a80..135f9ea1c6 100644 --- a/src/node/context.h +++ b/src/node/context.h @@ -44,7 +44,7 @@ struct NodeContext { std::unique_ptr<CTxMemPool> mempool; std::unique_ptr<CBlockPolicyEstimator> fee_estimator; std::unique_ptr<PeerManager> peerman; - ChainstateManager* chainman{nullptr}; // Currently a raw pointer because the memory is not managed by this struct + std::unique_ptr<ChainstateManager> chainman; std::unique_ptr<BanMan> banman; ArgsManager* args{nullptr}; // Currently a raw pointer because the memory is not managed by this struct std::unique_ptr<interfaces::Chain> chain; |