aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-04-15 20:01:40 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-05-05 13:22:24 -0400
commit9faa4902cd32af9742b7ffcc163725bff226da1f (patch)
tree34208d35f4eba026c867144e950ddfc541df538b /src
parent52cbce287a0d9b3184fd3aee9d4f1186fd2dd7da (diff)
net: remove unused set
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 8ae31e715e..771d9e8624 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -97,9 +97,6 @@ limitedmap<uint256, int64_t> mapAlreadyAskedFor(MAX_INV_SZ);
static std::deque<std::string> vOneShots;
CCriticalSection cs_vOneShots;
-std::set<CNetAddr> setservAddNodeAddresses;
-CCriticalSection cs_setservAddNodeAddresses;
-
std::vector<std::string> vAddedNodes;
CCriticalSection cs_vAddedNodes;
@@ -1660,14 +1657,7 @@ void ThreadOpenAddedConnections()
BOOST_FOREACH(const std::string& strAddNode, lAddresses) {
std::vector<CService> vservNode(0);
if(Lookup(strAddNode.c_str(), vservNode, Params().GetDefaultPort(), fNameLookup, 0))
- {
lservAddressesToAdd.push_back(vservNode);
- {
- LOCK(cs_setservAddNodeAddresses);
- BOOST_FOREACH(const CService& serv, vservNode)
- setservAddNodeAddresses.insert(serv);
- }
- }
}
// Attempt to connect to each IP for each addnode entry until at least one is successful per addnode entry
// (keeping in mind that addnode entries can have many IPs if fNameLookup)