MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetTryNewOutboundPeer

Method SetTryNewOutboundPeer

src/net.cpp:1718–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1716}
1717
1718void CConnman::SetTryNewOutboundPeer(bool flag)
1719{
1720 m_try_another_outbound_peer = flag;
1721 LogPrint(BCLog::NET, "net: setting try another outbound peer=%s\n", flag ? "true" : "false");
1722}
1723
1724// Return the number of peers we have over our outbound connection limit
1725// Exclude peers that are marked for disconnect, or are going to be

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected