File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1889,7 +1889,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node)
1889
1889
connOptions.nLocalServices = nLocalServices;
1890
1890
connOptions.nMaxConnections = nMaxConnections;
1891
1891
connOptions.m_max_outbound_full_relay = std::min (MAX_OUTBOUND_FULL_RELAY_CONNECTIONS, connOptions.nMaxConnections );
1892
- connOptions.m_max_outbound_block_relay = std::min (MAX_BLOCKS_ONLY_CONNECTIONS , connOptions.nMaxConnections -connOptions.m_max_outbound_full_relay );
1892
+ connOptions.m_max_outbound_block_relay = std::min (MAX_BLOCK_RELAY_ONLY_CONNECTIONS , connOptions.nMaxConnections -connOptions.m_max_outbound_full_relay );
1893
1893
connOptions.nMaxAddnode = MAX_ADDNODE_CONNECTIONS;
1894
1894
connOptions.nMaxFeeler = MAX_FEELER_CONNECTIONS;
1895
1895
connOptions.nBestHeight = chain_active_height;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ static const int MAX_OUTBOUND_FULL_RELAY_CONNECTIONS = 8;
61
61
/* * Maximum number of addnode outgoing nodes */
62
62
static const int MAX_ADDNODE_CONNECTIONS = 8 ;
63
63
/* * Maximum number of block-relay-only outgoing connections */
64
- static const int MAX_BLOCKS_ONLY_CONNECTIONS = 2 ;
64
+ static const int MAX_BLOCK_RELAY_ONLY_CONNECTIONS = 2 ;
65
65
/* * Maximum number of feeler connections */
66
66
static const int MAX_FEELER_CONNECTIONS = 1 ;
67
67
/* * -listen default */
You can’t perform that action at this time.
0 commit comments