diff options
| author | Matt Quinn <[email protected]> | 2015-08-01 10:41:21 -0700 |
|---|---|---|
| committer | Matt Quinn <[email protected]> | 2015-08-03 14:37:00 -0700 |
| commit | 19dd40a25f061fb8b16b9332826293f5d0b58a56 (patch) | |
| tree | 6aca0a8e726c4c3a5fb8d8060c0970c06abf94d4 /src/net.cpp | |
| parent | Merge pull request #6498 (diff) | |
| download | discoin-19dd40a25f061fb8b16b9332826293f5d0b58a56.tar.xz discoin-19dd40a25f061fb8b16b9332826293f5d0b58a56.zip | |
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 176fd7195..5d413697b 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; |