aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authortryphe <tryphe@noreply.github.com>2019-05-08 04:34:01 -0400
committerfanquake <fanquake@gmail.com>2020-05-12 17:30:33 +0800
commit25d8264c95eaf98a66df32addb0bf32d795a35bd (patch)
tree945621410409d240770f89e60e68179e0716b5f2 /src/init.cpp
parentad1b7b18177afb2a2d919cef5442e7c35fd7fe1e (diff)
downloadbitcoin-25d8264c95eaf98a66df32addb0bf32d795a35bd.tar.xz
p2p: add MAX_FEELER_CONNECTIONS constant
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
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();