diff options
author | Matt Corallo <matt@bluematt.me> | 2012-07-02 19:55:16 +0200 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2013-01-27 03:03:04 -0500 |
commit | 74088e862e29821562652986c6bd7c14c3783327 (patch) | |
tree | f3766f9d754a2664b404561deb30c4732a6b05ac /src/net.h | |
parent | d3ab598fd5261a89002c0b12913c4f3e22e82f33 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; + |