MCPcopy Create free account
hub / github.com/LUX-Core/lux / SetReachable

Function SetReachable

src/net.cpp:267–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void SetReachable(enum Network net, bool fFlag)
268{
269 LOCK(cs_mapLocalHost);
270 vfReachable[net] = fFlag;
271 if (net == NET_IPV6 && fFlag)
272 vfReachable[NET_IPV4] = true;
273}
274
275// learn a new local address
276bool AddLocal(const CService& addr, int nScore)

Callers 2

AppInit2Function · 0.85
AddLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected