mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't accept tunnels if bandwidth is exceeded
This commit is contained in:
parent
b693d13144
commit
47c3d5ed23
5 changed files with 11 additions and 2 deletions
|
@ -118,6 +118,7 @@ namespace data
|
|||
bool IsIntroducer () const { return m_Caps & eSSUIntroducer; };
|
||||
bool IsPeerTesting () const { return m_Caps & eSSUTesting; };
|
||||
bool IsHidden () const { return m_Caps & eHidden; };
|
||||
bool IsHighBandwidth () const { return m_Caps & RouterInfo::eHighBandwidth; };
|
||||
|
||||
uint8_t GetCaps () const { return m_Caps; };
|
||||
void SetCaps (uint8_t caps);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue