|
|
@ -95,12 +95,13 @@ namespace data |
|
|
|
void Publish (); |
|
|
|
void Publish (); |
|
|
|
void ValidateSubscriptions (); |
|
|
|
void ValidateSubscriptions (); |
|
|
|
const RouterInfo * GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const; |
|
|
|
const RouterInfo * GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const; |
|
|
|
|
|
|
|
void KeyspaceRotation (); |
|
|
|
|
|
|
|
|
|
|
|
RequestedDestination * CreateRequestedDestination (const IdentHash& dest, |
|
|
|
RequestedDestination * CreateRequestedDestination (const IdentHash& dest, |
|
|
|
bool isLeaseSet, bool isExploratory = false); |
|
|
|
bool isLeaseSet, bool isExploratory = false); |
|
|
|
void DeleteRequestedDestination (const IdentHash& dest); |
|
|
|
void DeleteRequestedDestination (const IdentHash& dest); |
|
|
|
void DeleteRequestedDestination (RequestedDestination * dest); |
|
|
|
void DeleteRequestedDestination (RequestedDestination * dest); |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|
std::map<IdentHash, LeaseSet *> m_LeaseSets; |
|
|
|
std::map<IdentHash, LeaseSet *> m_LeaseSets; |
|
|
|