mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-12 09:06:53 +02:00
ignore non-reachable floodfills
This commit is contained in:
parent
88798b1a9e
commit
ca6f656e1b
3 changed files with 8 additions and 9 deletions
|
@ -128,7 +128,8 @@ namespace data
|
|||
void SetProperty (const std::string& key, const std::string& value); // called from RouterContext only
|
||||
void DeleteProperty (const std::string& key); // called from RouterContext only
|
||||
void ClearProperties () { m_Properties.clear (); };
|
||||
bool IsFloodfill () const;
|
||||
bool IsFloodfill () const { return m_Caps & Caps::eFloodfill; };
|
||||
bool IsReachable () const { return m_Caps & Caps::eReachable; };
|
||||
bool IsNTCP (bool v4only = true) const;
|
||||
bool IsSSU (bool v4only = true) const;
|
||||
bool IsV6 () const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue