aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bloom.cpp2
-rw-r--r--src/chainparams.cpp3
-rw-r--r--src/rpcmining.cpp1
-rw-r--r--src/rpcrawtransaction.cpp1
4 files changed, 3 insertions, 4 deletions
diff --git a/src/bloom.cpp b/src/bloom.cpp
index d9ec2efa81..b6799e143d 100644
--- a/src/bloom.cpp
+++ b/src/bloom.cpp
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include "bloom.h"
-#include "main.h"
+#include "core.h"
#include "script.h"
#define LN2SQUARED 0.4804530139182014246671025263266649717305529515945455
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index 8859424d20..3bb62fb793 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -6,7 +6,8 @@
#include "assert.h"
#include "chainparams.h"
-#include "main.h"
+#include "core.h"
+#include "protocol.h"
#include "util.h"
//
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp
index d0b0a70be4..a70c0958df 100644
--- a/src/rpcmining.cpp
+++ b/src/rpcmining.cpp
@@ -4,7 +4,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
-#include "main.h"
#include "db.h"
#include "init.h"
#include "bitcoinrpc.h"
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp
index 61cb4e390e..f08688d386 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -9,7 +9,6 @@
#include "bitcoinrpc.h"
#include "db.h"
#include "init.h"
-#include "main.h"
#include "net.h"
#include "wallet.h"