check whether a given network is one we can probably connect to */
| 355 | |
| 356 | /** check whether a given network is one we can probably connect to */ |
| 357 | bool IsReachable(enum Network net) |
| 358 | { |
| 359 | LOCK(cs_mapLocalHost); |
| 360 | return vfReachable[net] && !vfLimited[net]; |
| 361 | } |
| 362 | |
| 363 | /** check whether a given address is in a network we can probably connect to */ |
| 364 | bool IsReachable(const CNetAddr& addr) |
no test coverage detected