diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-24 10:41:16 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2013-06-24 10:41:16 -0400 |
commit | 79f6925facba6546987137f2c54948cad4dc69df (patch) | |
tree | 37b95453fd7ad2dcaf26928459f963f0de8ff064 | |
parent | 396485b14dd60d92c980b1b6257e5ef8c7955167 (diff) |
main.h->core.h include dependency improvements.
-rw-r--r-- | src/bloom.cpp | 2 | ||||
-rw-r--r-- | src/chainparams.cpp | 3 | ||||
-rw-r--r-- | src/rpcmining.cpp | 1 | ||||
-rw-r--r-- | src/rpcrawtransaction.cpp | 1 |
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" |