MOVEONLY: Move NodeContext struct to node/context.h

This commit is contained in:
Russell Yanofsky
2019-09-17 17:11:31 -04:00
parent 301bd41a2e
commit 4d5448c76b
3 changed files with 25 additions and 12 deletions

View File

@@ -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;