aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-06-06 00:04:33 -0700
committerEric Lombrozo <elombrozo@gmail.com>2013-06-06 00:04:33 -0700
commit6e68524e95da2bedc21b1d95c4a206b902ab7c22 (patch)
tree6618fed58e3a03f19255bca779d4da3cc8860d3a /src/net.h
parent501da2503a39dd88470df89ccc923c696fe6b111 (diff)
downloadbitcoin-6e68524e95da2bedc21b1d95c4a206b902ab7c22.tar.xz
Removed the main.h include from net.cpp.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index fdac60d9ce..e75fe48f64 100644
--- a/src/net.h
+++ b/src/net.h
@@ -23,6 +23,9 @@
#include "hash.h"
#include "bloom.h"
+/** The maximum number of entries in an 'inv' protocol message */
+static const unsigned int MAX_INV_SZ = 50000;
+
class CNode;
class CBlockIndex;
extern int nBestHeight;