|
|
@ -144,6 +144,7 @@ public: |
|
|
|
unsigned int nReceiveFloodSize = 0; |
|
|
|
unsigned int nReceiveFloodSize = 0; |
|
|
|
uint64_t nMaxOutboundTimeframe = 0; |
|
|
|
uint64_t nMaxOutboundTimeframe = 0; |
|
|
|
uint64_t nMaxOutboundLimit = 0; |
|
|
|
uint64_t nMaxOutboundLimit = 0; |
|
|
|
|
|
|
|
std::vector<std::string> vSeedNodes; |
|
|
|
}; |
|
|
|
}; |
|
|
|
CConnman(uint64_t seed0, uint64_t seed1); |
|
|
|
CConnman(uint64_t seed0, uint64_t seed1); |
|
|
|
~CConnman(); |
|
|
|
~CConnman(); |
|
|
@ -233,8 +234,6 @@ public: |
|
|
|
void GetBanned(banmap_t &banmap); |
|
|
|
void GetBanned(banmap_t &banmap); |
|
|
|
void SetBanned(const banmap_t &banmap); |
|
|
|
void SetBanned(const banmap_t &banmap); |
|
|
|
|
|
|
|
|
|
|
|
void AddOneShot(const std::string& strDest); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool AddNode(const std::string& node); |
|
|
|
bool AddNode(const std::string& node); |
|
|
|
bool RemoveAddedNode(const std::string& node); |
|
|
|
bool RemoveAddedNode(const std::string& node); |
|
|
|
std::vector<AddedNodeInfo> GetAddedNodeInfo(); |
|
|
|
std::vector<AddedNodeInfo> GetAddedNodeInfo(); |
|
|
@ -292,6 +291,7 @@ private: |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void ThreadOpenAddedConnections(); |
|
|
|
void ThreadOpenAddedConnections(); |
|
|
|
|
|
|
|
void AddOneShot(const std::string& strDest); |
|
|
|
void ProcessOneShot(); |
|
|
|
void ProcessOneShot(); |
|
|
|
void ThreadOpenConnections(); |
|
|
|
void ThreadOpenConnections(); |
|
|
|
void ThreadMessageHandler(); |
|
|
|
void ThreadMessageHandler(); |
|
|
|