From 19dd40a25f061fb8b16b9332826293f5d0b58a56 Mon Sep 17 00:00:00 2001 From: Matt Quinn Date: Sat, 1 Aug 2015 10:41:21 -0700 Subject: Consolidate individual references to the current maximum peer connection value of 125 into a single constant declaration. --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net.cpp') 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 vhListenSocket; CAddrMan addrman; -int nMaxConnections = 125; +int nMaxConnections = DEFAULT_MAX_PEER_CONNECTIONS; int nWhiteConnections = 0; bool fAddressesInitialized = false; -- cgit v1.2.3