diff options
author | Matt Quinn <matt@mattjquinn.com> | 2015-08-01 10:41:21 -0700 |
---|---|---|
committer | Matt Quinn <matt@mattjquinn.com> | 2015-08-03 14:37:00 -0700 |
commit | 19dd40a25f061fb8b16b9332826293f5d0b58a56 (patch) | |
tree | 6aca0a8e726c4c3a5fb8d8060c0970c06abf94d4 /src/net.h | |
parent | 219b916545f3be194eb53801bfb8d0694978fb00 (diff) |
Consolidate individual references to the current maximum peer connection
value of 125 into a single constant declaration.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,8 @@ static const bool DEFAULT_UPNP = false; #endif /** The maximum number of entries in mapAskFor */ 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; unsigned int ReceiveFloodSize(); unsigned int SendBufferSize(); |