mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Merge #8065: Addrman offline attempts
6182d10Do not increment nAttempts by more than one for every Good connection. (Gregory Maxwell)c769c4aAvoid counting failed connect attempts when probably offline. (Gregory Maxwell)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user