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/net.h | |
| 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/net.h')
| -rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ CNode* FindNode(const CNetAddr& ip); CNode* FindNode(const CSubNet& subNet); CNode* FindNode(const std::string& addrName); CNode* FindNode(const CService& ip); -bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); +bool OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false); void MapPort(bool fUseUPnP); unsigned short GetListenPort(); bool BindListenPort(const CService &bindAddr, std::string& strError, bool fWhitelisted = false); |