|
|
@ -59,6 +59,7 @@ namespace i2p |
|
|
|
bool IsFloodfill () const { return m_IsFloodfill; }; |
|
|
|
bool IsFloodfill () const { return m_IsFloodfill; }; |
|
|
|
void SetFloodfill (bool floodfill); |
|
|
|
void SetFloodfill (bool floodfill); |
|
|
|
void SetFamily (const std::string& family); |
|
|
|
void SetFamily (const std::string& family); |
|
|
|
|
|
|
|
std::string GetFamilyString () const; |
|
|
|
void SetBandwidth (int limit); /* in kilobytes */ |
|
|
|
void SetBandwidth (int limit); /* in kilobytes */ |
|
|
|
void SetBandwidth (char L); /* by letter */ |
|
|
|
void SetBandwidth (char L); /* by letter */ |
|
|
|
bool AcceptsTunnels () const { return m_AcceptsTunnels; }; |
|
|
|
bool AcceptsTunnels () const { return m_AcceptsTunnels; }; |
|
|
@ -100,6 +101,7 @@ namespace i2p |
|
|
|
i2p::data::PrivateKeys m_Keys; |
|
|
|
i2p::data::PrivateKeys m_Keys; |
|
|
|
uint64_t m_LastUpdateTime; |
|
|
|
uint64_t m_LastUpdateTime; |
|
|
|
bool m_AcceptsTunnels, m_IsFloodfill; |
|
|
|
bool m_AcceptsTunnels, m_IsFloodfill; |
|
|
|
|
|
|
|
std::string m_FamilyString; |
|
|
|
uint64_t m_StartupTime; // in seconds since epoch
|
|
|
|
uint64_t m_StartupTime; // in seconds since epoch
|
|
|
|
uint32_t m_BandwidthLimit; // allowed bandwidth
|
|
|
|
uint32_t m_BandwidthLimit; // allowed bandwidth
|
|
|
|
RouterStatus m_Status; |
|
|
|
RouterStatus m_Status; |
|
|
|