SSU2 only introducers

This commit is contained in:
orignal 2022-11-23 13:44:03 -05:00
parent ccfeca728e
commit a298588943
5 changed files with 23 additions and 209 deletions

View file

@ -1229,15 +1229,6 @@ namespace data
});
}
std::shared_ptr<const RouterInfo> NetDb::GetRandomSSUV6Router () const
{
return GetRandomRouter (
[](std::shared_ptr<const RouterInfo> router)->bool
{
return !router->IsHidden () && router->IsECIES () && router->IsSSUV6 ();
});
}
std::shared_ptr<const RouterInfo> NetDb::GetRandomIntroducer (bool v4, const std::set<IdentHash>& excluded) const
{
return GetRandomRouter (