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

Function RemoveLocal

src/net.cpp:308–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308bool RemoveLocal(const CService& addr)
309{
310 LOCK(cs_mapLocalHost);
311 LogPrintf("RemoveLocal(%s)\n", addr.ToString());
312 mapLocalHost.erase(addr);
313 return true;
314}
315
316/** Make a particular network entirely off-limits (no automatic connects to it) */
317void SetLimited(enum Network net, bool fLimited)

Callers 2

~LuxControllerMethod · 0.85
disconnected_cbMethod · 0.85

Calls 2

ToStringMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected