|
|
@ -72,6 +72,7 @@ namespace data |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetHighBandwidthRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetHighBandwidthRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomPeerTestRouter (bool v4only = true) const; |
|
|
|
std::shared_ptr<const RouterInfo> GetRandomPeerTestRouter (bool v4only = true) const; |
|
|
|
|
|
|
|
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 () 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, |
|
|
|