Only include net.h when we have to

This commit is contained in:
Jordan Lewis
2011-05-14 16:20:30 -05:00
parent ed0c143242
commit 40c2614ef4
8 changed files with 13 additions and 1 deletions

View File

@@ -24,6 +24,13 @@ class CBlockIndex;
class CWalletTx;
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_GEN = MAX_BLOCK_SIZE/2;
static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;