MCPcopy Create free account
hub / github.com/ElementsProject/elements / SetTryNewOutboundPeer

Method SetTryNewOutboundPeer

src/net.cpp:1879–1883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1877}
1878
1879void CConnman::SetTryNewOutboundPeer(bool flag)
1880{
1881 m_try_another_outbound_peer = flag;
1882 LogPrint(BCLog::NET, "net: setting try another outbound peer=%s\n", flag ? "true" : "false");
1883}
1884
1885// Return the number of peers we have over our outbound connection limit
1886// Exclude peers that are marked for disconnect, or are going to be

Callers 3

FUZZ_TARGET_INITFunction · 0.80

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.64