aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-11-13 13:26:42 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-11-13 13:27:33 +0100
commitd2e987aa19295e5da40b843aad7970f781a96ccd (patch)
tree165f0201e2e392a8ddb81af20e8111cdf19a82b1 /src/net.h
parent24c4841d16862c201bf62218280c2194a85a81ca (diff)
parent9c3ee3bf77382aca5717f9ae7163e79e3bf836af (diff)
Merge pull request #6958
9c3ee3b [doc] Add -maxuploadtarget release notes (MarcoFalke) b27e81f [net] Cleanup maxuploadtarget (MarcoFalke)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index d89244523e..cd2d225d73 100644
--- a/src/net.h
+++ b/src/net.h
@@ -60,6 +60,8 @@ static const bool DEFAULT_UPNP = false;
static const size_t MAPASKFOR_MAX_SZ = MAX_INV_SZ;
/** The maximum number of peer connections to maintain. */
static const unsigned int DEFAULT_MAX_PEER_CONNECTIONS = 125;
+/** The default for -maxuploadtarget. 0 = Unlimited */
+static const uint64_t DEFAULT_MAX_UPLOAD_TARGET = 0;
unsigned int ReceiveFloodSize();
unsigned int SendBufferSize();