From 25d8264c95eaf98a66df32addb0bf32d795a35bd Mon Sep 17 00:00:00 2001 From: tryphe Date: Wed, 8 May 2019 04:34:01 -0400 Subject: p2p: add MAX_FEELER_CONNECTIONS constant --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index 221cab15f8..18a1ccf7b8 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1879,7 +1879,7 @@ bool AppInitMain(NodeContext& node) connOptions.m_max_outbound_full_relay = std::min(MAX_OUTBOUND_FULL_RELAY_CONNECTIONS, connOptions.nMaxConnections); connOptions.m_max_outbound_block_relay = std::min(MAX_BLOCKS_ONLY_CONNECTIONS, connOptions.nMaxConnections-connOptions.m_max_outbound_full_relay); connOptions.nMaxAddnode = MAX_ADDNODE_CONNECTIONS; - connOptions.nMaxFeeler = 1; + connOptions.nMaxFeeler = MAX_FEELER_CONNECTIONS; connOptions.nBestHeight = chain_active_height; connOptions.uiInterface = &uiInterface; connOptions.m_banman = node.banman.get(); -- cgit v1.2.3