diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-08-04 19:37:07 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-08-04 19:43:30 +0200 |
commit | 586a29253dabec3ca0f1ccba9091daabd16b8411 (patch) | |
tree | ecb928b8b4ea66860de8fd9a98defe13a33b05f9 /src/net.h | |
parent | b6fee6b7c71cb339b3249860464d0a066b9a3147 (diff) | |
parent | 19dd40a25f061fb8b16b9332826293f5d0b58a56 (diff) |
Merge pull request #6503
19dd40a Consolidate individual references to the current maximum peer connection value of 125 into a single constant declaration. (Matt Quinn)
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(); |