check whether a given address is potentially local */
| 348 | |
| 349 | /** check whether a given address is potentially local */ |
| 350 | bool IsLocal(const CService& addr) |
| 351 | { |
| 352 | LOCK(cs_mapLocalHost); |
| 353 | return mapLocalHost.count(addr) > 0; |
| 354 | } |
| 355 | |
| 356 | /** check whether a given network is one we can probably connect to */ |
| 357 | bool IsReachable(enum Network net) |
no test coverage detected