net: move vNodesDisconnected into CConnman

This commit is contained in:
Cory Fields committed 2016-09-08 13:06:05 -04:00
1 parent fa2f8bc47f
commit 98591c5027
2 files changed
+1 -2

No files matched your search

-2
View File
@@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode)
return nSentSize;
}
static std::list<CNode*> vNodesDisconnected;
struct NodeEvictionCandidate
{
NodeId id;
+1
View File
@@ -292,6 +292,7 @@ private:
std::vector<std::string> vAddedNodes;
CCriticalSection cs_vAddedNodes;
std::vector<CNode*> vNodes;
std::list<CNode*> vNodesDisconnected;
mutable CCriticalSection cs_vNodes;
std::atomic<NodeId> nLastNodeId;
boost::condition_variable messageHandlerCondition;