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

Function SetLimited

src/net.cpp:317–323  ·  view source on GitHub ↗

Make a particular network entirely off-limits (no automatic connects to it) */

Source from the content-addressed store, hash-verified

315
316/** Make a particular network entirely off-limits (no automatic connects to it) */
317void SetLimited(enum Network net, bool fLimited)
318{
319 if (net == NET_UNROUTABLE)
320 return;
321 LOCK(cs_mapLocalHost);
322 vfLimited[net] = fLimited;
323}
324
325bool IsLimited(enum Network net)
326{

Callers 2

auth_cbMethod · 0.85
AppInit2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected