|
|
@ -87,7 +87,7 @@ namespace data |
|
|
|
std::shared_ptr<const RouterInfo> GetHighBandwidthRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith, bool reverse) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetHighBandwidthRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith, bool reverse) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomPeerTestRouter (bool v4, const std::set<IdentHash>& excluded) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomPeerTestRouter (bool v4, const std::set<IdentHash>& excluded) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomSSUV6Router () const; // TODO: change to v6 peer test later
|
|
|
|
std::shared_ptr<const RouterInfo> GetRandomSSUV6Router () const; // TODO: change to v6 peer test later
|
|
|
|
std::shared_ptr<const RouterInfo> GetRandomIntroducer () const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomIntroducer (bool v4) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded, bool closeThanUsOnly = false) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded, bool closeThanUsOnly = false) const; |
|
|
|
std::vector<IdentHash> GetClosestFloodfills (const IdentHash& destination, size_t num, |
|
|
|
std::vector<IdentHash> GetClosestFloodfills (const IdentHash& destination, size_t num, |
|
|
|
std::set<IdentHash>& excluded, bool closeThanUsOnly = false) const; |
|
|
|
std::set<IdentHash>& excluded, bool closeThanUsOnly = false) const; |
|
|
|