check whether a given network is one we can probably connect to */
| 284 | |
| 285 | /** check whether a given network is one we can probably connect to */ |
| 286 | bool IsReachable(enum Network net) |
| 287 | { |
| 288 | LOCK(cs_mapLocalHost); |
| 289 | return !vfLimited[net]; |
| 290 | } |
| 291 | |
| 292 | /** check whether a given address is in a network we can probably connect to */ |
| 293 | bool IsReachable(const CNetAddr& addr) |
no test coverage detected