diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2018-02-01 14:04:49 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2018-02-01 14:04:49 -0500 |
commit | 660f5f19ae74cc81b83540fcb95a33ec437834c8 (patch) | |
tree | 752fb4414ab9edc5f09bcf7c385234da1d496e5f /src/net.h | |
parent | 84291d18dd69e0baff766d256a3f45f910be55e9 (diff) |
net: don't retry failed oneshot connections forever
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ public: void Interrupt(); bool GetNetworkActive() const { return fNetworkActive; }; void SetNetworkActive(bool active); - bool OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound = nullptr, const char *strDest = nullptr, bool fOneShot = false, bool fFeeler = false, bool manual_connection = false); + void OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound = nullptr, const char *strDest = nullptr, bool fOneShot = false, bool fFeeler = false, bool manual_connection = false); bool CheckIncomingNonce(uint64_t nonce); bool ForNode(NodeId id, std::function<bool(CNode* pnode)> func); |