aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-04-16 17:51:01 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-09-08 12:12:57 -0400
commit502dd3a8a0bc0d12744e75f84a22cc12074c5683 (patch)
treecc228980d8a946d02cf3f8203e15e293c43ed7c4 /src/net.cpp
parenta0f3d3cdad630103d919a4ec802c413b87fa1f1a (diff)
net: Add oneshot functions to CConnman
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net.cpp b/src/net.cpp
index eeb84fca7a..045939c2ea 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -91,9 +91,6 @@ std::vector<CNode*> vNodes;
CCriticalSection cs_vNodes;
limitedmap<uint256, int64_t> mapAlreadyAskedFor(MAX_INV_SZ);
-static std::deque<std::string> vOneShots;
-CCriticalSection cs_vOneShots;
-
std::vector<std::string> vAddedNodes;
CCriticalSection cs_vAddedNodes;
@@ -107,7 +104,7 @@ boost::condition_variable messageHandlerCondition;
static CNodeSignals g_signals;
CNodeSignals& GetNodeSignals() { return g_signals; }
-void AddOneShot(const std::string& strDest)
+void CConnman::AddOneShot(const std::string& strDest)
{
LOCK(cs_vOneShots);
vOneShots.push_back(strDest);