mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
delete invalid router after update
This commit is contained in:
parent
7bde4de1f5
commit
d15581d95e
3 changed files with 25 additions and 10 deletions
|
@ -253,7 +253,7 @@ namespace data
|
|||
std::shared_ptr<RouterProfile> GetProfile () const;
|
||||
void DropProfile () { m_Profile = nullptr; };
|
||||
|
||||
void Update (const uint8_t * buf, size_t len);
|
||||
bool Update (const uint8_t * buf, size_t len);
|
||||
void DeleteBuffer () { m_Buffer = nullptr; };
|
||||
bool IsNewer (const uint8_t * buf, size_t len) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue