aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2019-09-17 18:28:03 -0400
committerRussell Yanofsky <[email protected]>2019-10-28 10:30:51 -0400
commite6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d (patch)
tree1c12f814ae2ac88316066d334274354c669d7aa5 /src/rpc/mining.cpp
parentMOVEONLY: Move NodeContext struct to node/context.h (diff)
downloaddiscoin-e6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d.tar.xz
discoin-e6f4f895d5e42feaf7bfa5f41e80292aaa73cd7d.zip
Pass NodeContext, ConnMan, BanMan references more places
So g_connman and g_banman globals can be removed next commit.
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 07c295863..f616b8303 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -13,6 +13,7 @@
#include <key_io.h>
#include <miner.h>
#include <net.h>
+#include <node/context.h>
#include <policy/fees.h>
#include <pow.h>
#include <rpc/blockchain.h>