mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
net: move vNodesDisconnected into CConnman
This commit is contained in:
parent
fa2f8bc47f
commit
98591c5027
@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode)
|
|||||||
return nSentSize;
|
return nSentSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::list<CNode*> vNodesDisconnected;
|
|
||||||
|
|
||||||
struct NodeEvictionCandidate
|
struct NodeEvictionCandidate
|
||||||
{
|
{
|
||||||
NodeId id;
|
NodeId id;
|
||||||
|
@ -292,6 +292,7 @@ private:
|
|||||||
std::vector<std::string> vAddedNodes;
|
std::vector<std::string> vAddedNodes;
|
||||||
CCriticalSection cs_vAddedNodes;
|
CCriticalSection cs_vAddedNodes;
|
||||||
std::vector<CNode*> vNodes;
|
std::vector<CNode*> vNodes;
|
||||||
|
std::list<CNode*> vNodesDisconnected;
|
||||||
mutable CCriticalSection cs_vNodes;
|
mutable CCriticalSection cs_vNodes;
|
||||||
std::atomic<NodeId> nLastNodeId;
|
std::atomic<NodeId> nLastNodeId;
|
||||||
boost::condition_variable messageHandlerCondition;
|
boost::condition_variable messageHandlerCondition;
|
||||||
|
Loading…
Reference in New Issue
Block a user