| 280 | } |
| 281 | |
| 282 | bool IsRouterBanned (const IdentHash& identHash) |
| 283 | { |
| 284 | std::lock_guard<std::mutex> l(g_ProfilesMutex); |
| 285 | auto it = g_Profiles.find (identHash); |
| 286 | if (it != g_Profiles.end ()) |
| 287 | return it->second->IsUnreachable (); |
| 288 | return false; |
| 289 | } |
| 290 | |
| 291 | bool IsRouterDuplicated (const IdentHash& identHash) |
| 292 | { |
no test coverage detected