MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / SetReachable

Function SetReachable

src/net.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void SetReachable(enum Network net, bool fFlag)
233{
234 LOCK(cs_mapLocalHost);
235 vfReachable[net] = fFlag;
236 if (net == NET_IPV6 && fFlag)
237 vfReachable[NET_IPV4] = true;
238}
239
240// learn a new local address
241bool AddLocal(const CService& addr, int nScore)

Callers 2

AppInit2Function · 0.85
AddLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected