You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use interfaces::Init::make* methods instead of interfaces::Make*
functions, so interfaces can be constructed differently in different
executables without having to change any code. (So for example
bitcoin-gui can make an interfaces::Node pointer that communicates with
a bitcoin-node subprocess, while bitcoin-qt can make an interfaces::Node
pointer that starts node code in the same process.)
Copy file name to clipboardExpand all lines: src/init/bitcoin-node.cpp
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,12 @@
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
+
#include<interfaces/chain.h>
5
6
#include<interfaces/echo.h>
6
7
#include<interfaces/init.h>
7
8
#include<interfaces/ipc.h>
9
+
#include<interfaces/node.h>
10
+
#include<interfaces/wallet.h>
8
11
#include<node/context.h>
9
12
#include<util/system.h>
10
13
@@ -24,6 +27,12 @@ class BitcoinNodeInit : public interfaces::Init
Copy file name to clipboardExpand all lines: src/init/bitcoind.cpp
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,11 @@
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
+
#include<interfaces/chain.h>
6
+
#include<interfaces/echo.h>
5
7
#include<interfaces/init.h>
8
+
#include<interfaces/node.h>
9
+
#include<interfaces/wallet.h>
6
10
#include<node/context.h>
7
11
#include<util/system.h>
8
12
@@ -18,6 +22,13 @@ class BitcoindInit : public interfaces::Init
0 commit comments