diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-08 12:58:21 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-08 13:01:53 +0200 |
| commit | 67c91f8c4cf738376f8b92429151494032bf9f91 (patch) | |
| tree | 006d2121a7572a53c1cc8ceb943886e3bdde88c3 /src/rpc/net.cpp | |
| parent | Merge #8078: Disable the mempool P2P command when bloom filters disabled (diff) | |
| parent | Do not increment nAttempts by more than one for every Good connection. (diff) | |
| download | discoin-67c91f8c4cf738376f8b92429151494032bf9f91.tar.xz discoin-67c91f8c4cf738376f8b92429151494032bf9f91.zip | |
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 36178bfb4..cae964e46 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; } |