mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-15 08:23:46 +02:00
torcontrol: Move tor controller into node context
Co-authored-by: sedited <seb.kung@gmail.com>
This commit is contained in:
@@ -25,6 +25,7 @@ class ChainstateManager;
|
||||
class ECC_Context;
|
||||
class NetGroupManager;
|
||||
class PeerManager;
|
||||
class TorController;
|
||||
namespace interfaces {
|
||||
class Chain;
|
||||
class ChainClient;
|
||||
@@ -69,6 +70,7 @@ struct NodeContext {
|
||||
std::unique_ptr<const NetGroupManager> netgroupman;
|
||||
std::unique_ptr<CBlockPolicyEstimator> fee_estimator;
|
||||
std::unique_ptr<PeerManager> peerman;
|
||||
std::unique_ptr<TorController> tor_controller;
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user