| 1319 | } |
| 1320 | |
| 1321 | std::shared_ptr<const RouterInfo> NetDb::GetRandomRouterInFamily (FamilyID fam) const |
| 1322 | { |
| 1323 | return GetRandomRouter( |
| 1324 | [fam](std::shared_ptr<const RouterInfo> router)->bool |
| 1325 | { |
| 1326 | return router->IsFamily(fam); |
| 1327 | }); |
| 1328 | } |
| 1329 | |
| 1330 | std::vector<IdentHash> NetDb::GetExploratoryNonFloodfill (const IdentHash& destination, |
| 1331 | size_t num, const std::unordered_set<IdentHash>& excluded) |
no test coverage detected