aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/init.h b/src/init.h
index 099e96a161..f490a2cc50 100644
--- a/src/init.h
+++ b/src/init.h
@@ -7,21 +7,10 @@
#define BITCOIN_INIT_H
#include <memory>
+#include <node/context.h>
#include <string>
#include <util/system.h>
-namespace interfaces {
-class Chain;
-class ChainClient;
-} // namespace interfaces
-
-//! Pointers to interfaces used during init and destroyed on shutdown.
-struct NodeContext
-{
- std::unique_ptr<interfaces::Chain> chain;
- std::vector<std::unique_ptr<interfaces::ChainClient>> chain_clients;
-};
-
namespace boost
{
class thread_group;