aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJordan Lewis <jordanthelewis@gmail.com>2011-05-14 16:20:30 -0500
committerJordan Lewis <jordanthelewis@gmail.com>2011-05-15 22:19:17 -0500
commit40c2614ef43a59ec0c8dc4338bbe27862243f2bb (patch)
treea5b25165f7ef92e5113a548601fd913654bdf49e /src/main.h
parented0c143242d734365b0e3d09b0e52e07819ffcdd (diff)
downloadbitcoin-40c2614ef43a59ec0c8dc4338bbe27862243f2bb.tar.xz
Only include net.h when we have to
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 411777349a..33c4892732 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;