check whether a given address is in a network we can probably connect to */
| 232 | |
| 233 | /** check whether a given address is in a network we can probably connect to */ |
| 234 | bool IsReachable(const CNetAddr& addr) { |
| 235 | LOCK(cs_mapLocalHost); |
| 236 | enum Network net = addr.GetNetwork(); |
| 237 | return vfReachable[net] && !vfLimited[net]; |
| 238 | } |
| 239 | |
| 240 | static string GetSystemInfo() { |
| 241 | struct sysinfo info; |
no test coverage detected