Only include net.h when we have to
This commit is contained in:
parent
ed0c143242
commit
40c2614ef4
8 changed files with 13 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
|
@ -118,7 +118,6 @@
|
||||||
#include "bignum.h"
|
#include "bignum.h"
|
||||||
#include "base58.h"
|
#include "base58.h"
|
||||||
#include "script.h"
|
#include "script.h"
|
||||||
#include "net.h"
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#ifdef GUI
|
#ifdef GUI
|
||||||
#include "uibase.h"
|
#include "uibase.h"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
#include "rpc.h"
|
#include "rpc.h"
|
||||||
|
#include "net.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "irc.h"
|
#include "irc.h"
|
||||||
|
#include "net.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -24,6 +24,13 @@ class CBlockIndex;
|
||||||
class CWalletTx;
|
class CWalletTx;
|
||||||
class CKeyItem;
|
class CKeyItem;
|
||||||
|
|
||||||
|
class CMessageHeader;
|
||||||
|
class CAddress;
|
||||||
|
class CInv;
|
||||||
|
class CRequestTracker;
|
||||||
|
class CNode;
|
||||||
|
class CBlockIndex;
|
||||||
|
|
||||||
static const unsigned int MAX_BLOCK_SIZE = 1000000;
|
static const unsigned int MAX_BLOCK_SIZE = 1000000;
|
||||||
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
|
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
|
||||||
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
|
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "irc.h"
|
#include "irc.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
|
|
||||||
#ifdef USE_UPNP
|
#ifdef USE_UPNP
|
||||||
#include <miniupnpc/miniwget.h>
|
#include <miniupnpc/miniwget.h>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include "headers.h"
|
#include "headers.h"
|
||||||
#include "cryptopp/sha.h"
|
#include "cryptopp/sha.h"
|
||||||
#include "db.h"
|
#include "db.h"
|
||||||
|
#include "net.h"
|
||||||
#undef printf
|
#undef printf
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <boost/iostreams/concepts.hpp>
|
#include <boost/iostreams/concepts.hpp>
|
||||||
|
|
Loading…
Reference in a new issue