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)
18791879 connOptions.m_max_outbound_full_relay = std::min (MAX_OUTBOUND_FULL_RELAY_CONNECTIONS, connOptions.nMaxConnections );
18801880 connOptions.m_max_outbound_block_relay = std::min (MAX_BLOCKS_ONLY_CONNECTIONS, connOptions.nMaxConnections -connOptions.m_max_outbound_full_relay );
18811881 connOptions.nMaxAddnode = MAX_ADDNODE_CONNECTIONS;
1882- connOptions.nMaxFeeler = 1 ;
1882+ connOptions.nMaxFeeler = MAX_FEELER_CONNECTIONS ;
18831883 connOptions.nBestHeight = chain_active_height;
18841884 connOptions.uiInterface = &uiInterface;
18851885 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;
6262static const int MAX_ADDNODE_CONNECTIONS = 8 ;
6363/* * Maximum number of block-relay-only outgoing connections */
6464static const int MAX_BLOCKS_ONLY_CONNECTIONS = 2 ;
65+ /* * Maximum number of feeler connections */
66+ static const int MAX_FEELER_CONNECTIONS = 1 ;
6567/* * -listen default */
6668static const bool DEFAULT_LISTEN = true ;
6769/* * -upnp default */
You can’t perform that action at this time.
0 commit comments