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

Function SetLimited

src/net.cpp:246–252  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

244
245/** Make a particular network entirely off-limits (no automatic connects to it) */
246void SetLimited(enum Network net, bool fLimited)
247{
248 if (net == NET_UNROUTABLE || net == NET_INTERNAL)
249 return;
250 LOCK(cs_mapLocalHost);
251 vfLimited[net] = fLimited;
252}
253
254bool IsLimited(enum Network net)
255{

Callers 2

auth_cbMethod · 0.85
AppInitMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected