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

Function SetReachable

src/net.cpp:327–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void SetReachable(enum Network net, bool reachable)
328{
329 if (net == NET_UNROUTABLE || net == NET_INTERNAL)
330 return;
331 LOCK(g_maplocalhost_mutex);
332 vfLimited[net] = !reachable;
333}
334
335bool IsReachable(enum Network net)
336{

Callers 3

auth_cbMethod · 0.85
AppInitMainFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68