mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
minimal version for floodfill 0.9.28
This commit is contained in:
parent
86e3b977e4
commit
9301e39af7
3 changed files with 9 additions and 2 deletions
|
@ -184,8 +184,7 @@ namespace data
|
|||
bool IsHidden () const { return m_Caps & eHidden; };
|
||||
bool IsHighBandwidth () const { return m_Caps & RouterInfo::eHighBandwidth; };
|
||||
bool IsExtraBandwidth () const { return m_Caps & RouterInfo::eExtraBandwidth; };
|
||||
// floodfill must be reachable and not DSA
|
||||
bool IsEligibleFloodfill () const { return IsReachable () && GetIdentity ()->GetSigningKeyType () != SIGNING_KEY_TYPE_DSA_SHA1; };
|
||||
bool IsEligibleFloodfill () const;
|
||||
|
||||
uint8_t GetCaps () const { return m_Caps; };
|
||||
void SetCaps (uint8_t caps);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue