|
|
@ -136,12 +136,8 @@ namespace i2p |
|
|
|
i2p::data::PrivateKeys m_Keys; |
|
|
|
i2p::data::PrivateKeys m_Keys; |
|
|
|
std::shared_ptr<i2p::crypto::CryptoKeyDecryptor> m_Decryptor; |
|
|
|
std::shared_ptr<i2p::crypto::CryptoKeyDecryptor> m_Decryptor; |
|
|
|
uint64_t m_LastUpdateTime; // in seconds
|
|
|
|
uint64_t m_LastUpdateTime; // in seconds
|
|
|
|
bool m_AcceptsTunnels, m_IsFloodfill; |
|
|
|
bool m_AcceptsTunnels, m_IsFloodfill; |
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
uint64_t m_StartupTime = 0; // in seconds since epoch
|
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
std::chrono::time_point<std::chrono::steady_clock> m_StartupTime; |
|
|
|
std::chrono::time_point<std::chrono::steady_clock> m_StartupTime; |
|
|
|
#endif |
|
|
|
|
|
|
|
uint64_t m_BandwidthLimit; // allowed bandwidth
|
|
|
|
uint64_t m_BandwidthLimit; // allowed bandwidth
|
|
|
|
int m_ShareRatio; |
|
|
|
int m_ShareRatio; |
|
|
|
RouterStatus m_Status; |
|
|
|
RouterStatus m_Status; |
|
|
|