aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2011-06-14 02:05:57 -0700
committerJeff Garzik <jgarzik@exmulti.com>2011-06-14 02:05:57 -0700
commit19ea44208f7c2cf335c654126deb81406036e328 (patch)
treeb3551e39efea8a96cac2513b08a97a040500168d /src/main.h
parentc02ec542691baff7517a10ab99bec0cead3ad3ee (diff)
parent31f293128177e0f53331ddb3f1f5ea22176bf91c (diff)
Merge pull request #226 from jordanlewis/betterheaders
Optimize header dependencies; improve Makefile dependency graph
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 436ffbecbd..7aa6d41c30 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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;
@@ -78,6 +85,9 @@ extern int fUseUPnP;
+class CReserveKey;
+class CTxDB;
+class CTxIndex;
bool CheckDiskSpace(uint64 nAdditionalBytes=0);
FILE* OpenBlockFile(unsigned int nFile, unsigned int nBlockPos, const char* pszMode="rb");