mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Pass NodeContext, ConnMan, BanMan references more places
So g_connman and g_banman globals can be removed next commit.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user