check routers' congestion before recreating a tunnel

This commit is contained in:
orignal 2023-04-09 21:32:44 -04:00
parent c1f19cb258
commit 572694b141
2 changed files with 27 additions and 5 deletions

View file

@ -126,6 +126,7 @@ namespace tunnel
typename TTunnels::value_type excluded, i2p::data::RouterInfo::CompatibleTransports compatible) const;
bool SelectPeers (Path& path, bool isInbound);
bool SelectExplicitPeers (Path& path, bool isInbound);
static bool ValidatePeers (std::vector<std::shared_ptr<const i2p::data::IdentityEx> >& peers);
private: