diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-08 12:58:21 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-06-08 13:01:53 +0200 |
commit | 67c91f8c4cf738376f8b92429151494032bf9f91 (patch) | |
tree | 006d2121a7572a53c1cc8ceb943886e3bdde88c3 /src/rpc/net.cpp | |
parent | 2156fa23b8ac95283a8b11432607aaffaabd2953 (diff) | |
parent | 6182d10503ae3af222a7e4575724dce7ef563fec (diff) |
Merge #8065: Addrman offline attempts
6182d10 Do not increment nAttempts by more than one for every Good connection. (Gregory Maxwell)
c769c4a Avoid counting failed connect attempts when probably offline. (Gregory Maxwell)
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 36178bfb4c..cae964e46d 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -219,7 +219,7 @@ UniValue addnode(const UniValue& params, bool fHelp) if (strCommand == "onetry") { CAddress addr; - OpenNetworkConnection(addr, NULL, strNode.c_str()); + OpenNetworkConnection(addr, false, NULL, strNode.c_str()); return NullUniValue; } |