diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-11-06 00:05:06 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-12 20:45:57 +0100 |
commit | b27e81f115e67bffee2c35c1c96082879160f6e1 (patch) | |
tree | fb10c90527ba68b09c8a8bab30626606235e6a6a /src/net.h | |
parent | bd629d77edbeac6ce71a34f6d557c4e00513be44 (diff) |
[net] Cleanup maxuploadtarget
* log: nMaxOutboundLimit is in bytes
* log: Hide misleading -maxuploadtarget=0 warning
* qa : Minor cleanup to maxuploadtarget rpc tests
* net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
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(); |