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.cpp | |
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.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 176fd7195b..5d413697bf 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -80,7 +80,7 @@ static CNode* pnodeLocalHost = NULL; uint64_t nLocalHostNonce = 0; static std::vector<ListenSocket> vhListenSocket; CAddrMan addrman; -int nMaxConnections = 125; +int nMaxConnections = DEFAULT_MAX_PEER_CONNECTIONS; int nWhiteConnections = 0; bool fAddressesInitialized = false; |