mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
MOVEONLY: Move NodeContext struct to node/context.h
This commit is contained in:
13
src/init.h
13
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;
|
||||
|
||||
Reference in New Issue
Block a user