mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if router if real only if tunnel build rate is low and router's profile is presented when handle exploratory request
This commit is contained in:
parent
5adbc2c3fe
commit
a21bec0ed8
2 changed files with 4 additions and 1 deletions
|
@ -280,6 +280,7 @@ namespace data
|
|||
|
||||
std::shared_ptr<RouterProfile> GetProfile () const;
|
||||
void DropProfile () { m_Profile = nullptr; };
|
||||
bool HasProfile () const { return (bool)m_Profile; };
|
||||
|
||||
bool Update (const uint8_t * buf, size_t len);
|
||||
void DeleteBuffer () { m_Buffer = nullptr; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue