MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / RemoveLocal

Function RemoveLocal

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

Source from the content-addressed store, hash-verified

236}
237
238void RemoveLocal(const CService& addr)
239{
240 LOCK(cs_mapLocalHost);
241 LogPrintf("RemoveLocal(%s)\n", addr.ToString());
242 mapLocalHost.erase(addr);
243}
244
245/** Make a particular network entirely off-limits (no automatic connects to it) */
246void SetLimited(enum Network net, bool fLimited)

Callers 2

~TorControllerMethod · 0.85
disconnected_cbMethod · 0.85

Calls 2

ToStringMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected