aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-06-08 12:58:21 +0200
committerWladimir J. van der Laan <[email protected]>2016-06-08 13:01:53 +0200
commit67c91f8c4cf738376f8b92429151494032bf9f91 (patch)
tree006d2121a7572a53c1cc8ceb943886e3bdde88c3 /src/net.h
parentMerge #8078: Disable the mempool P2P command when bloom filters disabled (diff)
parentDo not increment nAttempts by more than one for every Good connection. (diff)
downloaddiscoin-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 403653e8c..e744af21e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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);