aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2012-07-02 19:55:16 +0200
committerMatt Corallo <git@bluematt.me>2013-01-27 03:03:04 -0500
commit74088e862e29821562652986c6bd7c14c3783327 (patch)
treef3766f9d754a2664b404561deb30c4732a6b05ac /src/net.h
parentd3ab598fd5261a89002c0b12913c4f3e22e82f33 (diff)
downloadbitcoin-74088e862e29821562652986c6bd7c14c3783327.tar.xz
Use a copy in place of mapMultiArgs["-addnode"].
Also moves the DNS lookup of -addnode nodes into the repeated loop, allowing -addnode to follow DNS changes.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 99f41161b1..14e12aa102 100644
--- a/src/net.h
+++ b/src/net.h
@@ -102,6 +102,9 @@ extern std::deque<std::pair<int64, CInv> > vRelayExpiration;
extern CCriticalSection cs_mapRelay;
extern std::map<CInv, int64> mapAlreadyAskedFor;
+extern std::vector<std::string> vAddedNodes;
+extern CCriticalSection cs_vAddedNodes;
+