From e6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Tue, 17 Sep 2019 18:28:03 -0400 Subject: Pass NodeContext, ConnMan, BanMan references more places So g_connman and g_banman globals can be removed next commit. --- src/init.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/init.h') 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 -#include #include #include -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(); -- cgit v1.2.3