diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-13 13:26:42 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-13 13:27:33 +0100 |
commit | d2e987aa19295e5da40b843aad7970f781a96ccd (patch) | |
tree | 165f0201e2e392a8ddb81af20e8111cdf19a82b1 /src/net.h | |
parent | 24c4841d16862c201bf62218280c2194a85a81ca (diff) | |
parent | 9c3ee3bf77382aca5717f9ae7163e79e3bf836af (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |