From 98591c50273b13cfc5419548b527280d6a84a43d Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 27 May 2016 01:00:01 -0400 Subject: [PATCH] net: move vNodesDisconnected into CConnman --- src/net.cpp | 2 -- src/net.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net.cpp b/src/net.cpp index 9b18a32743b..508b0dd962e 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode) return nSentSize; } -static std::list vNodesDisconnected; - struct NodeEvictionCandidate { NodeId id; diff --git a/src/net.h b/src/net.h index a50066da9a9..018126d6770 100644 --- a/src/net.h +++ b/src/net.h @@ -292,6 +292,7 @@ private: std::vector vAddedNodes; CCriticalSection cs_vAddedNodes; std::vector vNodes; + std::list vNodesDisconnected; mutable CCriticalSection cs_vNodes; std::atomic nLastNodeId; boost::condition_variable messageHandlerCondition;