Browse Source

net: move vNodesDisconnected into CConnman

0.14
Cory Fields 9 years ago
parent
commit
98591c5027
  1. 2
      src/net.cpp
  2. 1
      src/net.h

2
src/net.cpp

@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode) @@ -820,8 +820,6 @@ size_t SocketSendData(CNode *pnode)
return nSentSize;
}
static std::list<CNode*> vNodesDisconnected;
struct NodeEvictionCandidate
{
NodeId id;

1
src/net.h

@ -292,6 +292,7 @@ private: @@ -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;

Loading…
Cancel
Save