From 79f6925facba6546987137f2c54948cad4dc69df Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Mon, 24 Jun 2013 10:41:16 -0400 Subject: [PATCH] main.h->core.h include dependency improvements. --- src/bloom.cpp | 2 +- src/chainparams.cpp | 3 ++- src/rpcmining.cpp | 1 - src/rpcrawtransaction.cpp | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bloom.cpp b/src/bloom.cpp index d9ec2efa8..b6799e143 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -5,7 +5,7 @@ #include #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 8859424d2..3bb62fb79 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 d0b0a70be..a70c0958d 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 61cb4e390..f08688d38 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"