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