Make a particular network entirely off-limits (no automatic connects to it) */
| 244 | |
| 245 | /** Make a particular network entirely off-limits (no automatic connects to it) */ |
| 246 | void 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 | |
| 254 | bool IsLimited(enum Network net) |
| 255 | { |
no outgoing calls
no test coverage detected