File tree Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ BITCOIN_CORE_H = \
157
157
netmessagemaker.h \
158
158
node/coin.h \
159
159
node/coinstats.h \
160
+ node/context.h \
160
161
node/psbt.h \
161
162
node/transaction.h \
162
163
noui.h \
Original file line number Diff line number Diff line change 7
7
#define BITCOIN_INIT_H
8
8
9
9
#include < memory>
10
+ #include < node/context.h>
10
11
#include < string>
11
12
#include < util/system.h>
12
13
13
- namespace interfaces {
14
- class Chain ;
15
- class ChainClient ;
16
- } // namespace interfaces
17
-
18
- // ! Pointers to interfaces used during init and destroyed on shutdown.
19
- struct NodeContext
20
- {
21
- std::unique_ptr<interfaces::Chain> chain;
22
- std::vector<std::unique_ptr<interfaces::ChainClient>> chain_clients;
23
- };
24
-
25
14
namespace boost
26
15
{
27
16
class thread_group ;
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2019 The Bitcoin Core developers
2
+ // Distributed under the MIT software license, see the accompanying
3
+ // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
+
5
+ #ifndef BITCOIN_NODE_CONTEXT_H
6
+ #define BITCOIN_NODE_CONTEXT_H
7
+
8
+ #include < memory>
9
+ #include < vector>
10
+
11
+ namespace interfaces {
12
+ class Chain ;
13
+ class ChainClient ;
14
+ } // namespace interfaces
15
+
16
+ // ! Pointers to interfaces used during init and destroyed on shutdown.
17
+ struct NodeContext
18
+ {
19
+ std::unique_ptr<interfaces::Chain> chain;
20
+ std::vector<std::unique_ptr<interfaces::ChainClient>> chain_clients;
21
+ };
22
+
23
+ #endif // BITCOIN_NODE_CONTEXT_H
You can’t perform that action at this time.
0 commit comments