diff options
| author | Pieter Wuille <[email protected]> | 2015-08-04 19:37:07 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-08-04 19:43:30 +0200 |
| commit | 586a29253dabec3ca0f1ccba9091daabd16b8411 (patch) | |
| tree | ecb928b8b4ea66860de8fd9a98defe13a33b05f9 /src/net.cpp | |
| parent | Merge pull request #6504 (diff) | |
| parent | Consolidate individual references to the current maximum peer connection (diff) | |
| download | discoin-586a29253dabec3ca0f1ccba9091daabd16b8411.tar.xz discoin-586a29253dabec3ca0f1ccba9091daabd16b8411.zip | |
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.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; |