diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2019-09-17 18:28:03 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-10-28 10:30:51 -0400 |
commit | e6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d (patch) | |
tree | 1c12f814ae2ac88316066d334274354c669d7aa5 /src/init.h | |
parent | 4d5448c76b71c9d91399c31b043237091be2e5e7 (diff) |
Pass NodeContext, ConnMan, BanMan references more places
So g_connman and g_banman globals can be removed next commit.
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/init.h b/src/init.h index f490a2cc50..ca52dadf08 100644 --- a/src/init.h +++ b/src/init.h @@ -7,17 +7,16 @@ #define BITCOIN_INIT_H #include <memory> -#include <node/context.h> #include <string> #include <util/system.h> -namespace boost -{ +struct NodeContext; +namespace boost { class thread_group; } // namespace boost /** Interrupt threads */ -void Interrupt(); +void Interrupt(NodeContext& node); void Shutdown(NodeContext& node); //!Initialize the logging infrastructure void InitLogging(); |