aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMatt Quinn <[email protected]>2015-08-01 10:41:21 -0700
committerMatt Quinn <[email protected]>2015-08-03 14:37:00 -0700
commit19dd40a25f061fb8b16b9332826293f5d0b58a56 (patch)
tree6aca0a8e726c4c3a5fb8d8060c0970c06abf94d4 /src/net.cpp
parentMerge pull request #6498 (diff)
downloaddiscoin-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.cpp2
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;