mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
drop expired leasesand renew leaseset
This commit is contained in:
parent
c754b5ae18
commit
e056c9c135
4 changed files with 33 additions and 19 deletions
|
@ -55,6 +55,7 @@ namespace data
|
|||
const std::vector<std::shared_ptr<Lease> > GetNonExpiredLeases (bool withThreshold = true) const;
|
||||
bool HasExpiredLeases () const;
|
||||
bool IsExpired () const;
|
||||
bool IsEmpty () const { return m_Leases.empty (); };
|
||||
uint64_t GetExpirationTime () const { return m_ExpirationTime; };
|
||||
|
||||
// implements RoutingDestination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue