|
|
|
@ -81,6 +81,7 @@ namespace data
@@ -81,6 +81,7 @@ namespace data
|
|
|
|
|
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> GetRandomPeerTestRouter () const; |
|
|
|
|
std::shared_ptr<const RouterInfo> GetRandomIntroducer () const; |
|
|
|
|
std::shared_ptr<const RouterInfo> GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const; |
|
|
|
|
std::shared_ptr<const RouterInfo> GetClosestNonFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const; |
|
|
|
|
void SetUnreachable (const IdentHash& ident, bool unreachable); |
|
|
|
|