mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
find router with specified caps
This commit is contained in:
parent
fb9d351600
commit
59d195c6da
4 changed files with 9 additions and 6 deletions
|
@ -28,7 +28,7 @@ namespace data
|
|||
enum Caps
|
||||
{
|
||||
eFloodfill = 0x01,
|
||||
eHighBanwidth = 0x02,
|
||||
eHighBandwidth = 0x02,
|
||||
eReachable = 0x04
|
||||
};
|
||||
|
||||
|
@ -84,7 +84,8 @@ namespace data
|
|||
bool IsSSU (bool v4only = true) const;
|
||||
bool IsCompatible (const RouterInfo& other) const { return m_SupportedTransports & other.m_SupportedTransports; };
|
||||
bool UsesIntroducer () const;
|
||||
|
||||
uint8_t GetCaps () const { return m_Caps; };
|
||||
|
||||
void SetUnreachable (bool unreachable) { m_IsUnreachable = unreachable; };
|
||||
bool IsUnreachable () const { return m_IsUnreachable; };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue