delete expired LeaseSets

This commit is contained in:
orignal 2014-07-31 12:59:43 -04:00
parent 0a5d4741af
commit acd21a04ae
4 changed files with 57 additions and 19 deletions

View file

@ -92,10 +92,11 @@ namespace data
void ValidateSubscriptions ();
const RouterInfo * GetClosestFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const;
void KeyspaceRotation ();
void ManageLeaseSets ();
RequestedDestination * CreateRequestedDestination (const IdentHash& dest,
bool isLeaseSet, bool isExploratory = false);
void DeleteRequestedDestination (const IdentHash& dest);
bool DeleteRequestedDestination (const IdentHash& dest); // returns true if found
void DeleteRequestedDestination (RequestedDestination * dest);
private: