aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2019-09-17 17:11:31 -0400
committerRussell Yanofsky <russ@yanofsky.org>2019-10-28 10:30:51 -0400
commit4d5448c76b71c9d91399c31b043237091be2e5e7 (patch)
treee3062b6fbf5d853ba5084889e993ba01091b8e2f /src/init.h
parent301bd41a2e6765b185bd55f4c541f9e27aeea29d (diff)
downloadbitcoin-4d5448c76b71c9d91399c31b043237091be2e5e7.tar.xz
MOVEONLY: Move NodeContext struct to node/context.h
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;