File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1879,7 +1879,7 @@ bool AppInitMain(NodeContext& node)
1879
1879
connOptions.m_max_outbound_full_relay = std::min (MAX_OUTBOUND_FULL_RELAY_CONNECTIONS, connOptions.nMaxConnections );
1880
1880
connOptions.m_max_outbound_block_relay = std::min (MAX_BLOCKS_ONLY_CONNECTIONS, connOptions.nMaxConnections -connOptions.m_max_outbound_full_relay );
1881
1881
connOptions.nMaxAddnode = MAX_ADDNODE_CONNECTIONS;
1882
- connOptions.nMaxFeeler = 1 ;
1882
+ connOptions.nMaxFeeler = MAX_FEELER_CONNECTIONS ;
1883
1883
connOptions.nBestHeight = chain_active_height;
1884
1884
connOptions.uiInterface = &uiInterface;
1885
1885
connOptions.m_banman = node.banman .get ();
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ static const int MAX_OUTBOUND_FULL_RELAY_CONNECTIONS = 8;
62
62
static const int MAX_ADDNODE_CONNECTIONS = 8 ;
63
63
/* * Maximum number of block-relay-only outgoing connections */
64
64
static const int MAX_BLOCKS_ONLY_CONNECTIONS = 2 ;
65
+ /* * Maximum number of feeler connections */
66
+ static const int MAX_FEELER_CONNECTIONS = 1 ;
65
67
/* * -listen default */
66
68
static const bool DEFAULT_LISTEN = true ;
67
69
/* * -upnp default */
You can’t perform that action at this time.
0 commit comments