[webconsole] added a button to prematurely release a leaseset

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas 2023-04-24 14:01:21 +03:00
parent f21e1c75d5
commit edfcd23b01
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
2 changed files with 51 additions and 4 deletions

View file

@ -96,6 +96,9 @@ namespace data
void Encrypt (const uint8_t * data, uint8_t * encrypted) const;
bool IsDestination () const { return true; };
// used in webconsole
void ExpireLease () { m_ExpirationTime = i2p::util::GetSecondsSinceEpoch (); };
protected:
void UpdateLeasesBegin ();