From e37dfecf0c551a6328797321070f9e289547de98 Mon Sep 17 00:00:00 2001 From: kanon <60179867+decryp2kanon@users.noreply.github.com> Date: Tue, 12 May 2020 14:52:55 +0900 Subject: [PATCH] revert: MINIMUM_CONNECT_TIME (#129) https://github.com/bitcoin/bitcoin/blob/f56c00b2345cd2e392ade4733e2ca9cb9b0af623/src/net_processing.h#L36 --- src/net_processing.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net_processing.h b/src/net_processing.h index e8235a6c5..03e5d73cb 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -41,8 +41,7 @@ static constexpr int64_t STALE_CHECK_INTERVAL = 5; // seconds // FIXME.SUGAR // sugarchain: (5 / 3) = 1.666... static constexpr int64_t EXTRA_PEER_CHECK_INTERVAL = 3; // seconds // FIXME.SUGAR /** Minimum time an outbound-peer-eviction candidate must be connected for, in order to evict, in seconds */ -// (30 / 2) = 15 -static constexpr int64_t MINIMUM_CONNECT_TIME = 15; // seconds // FIXME.SUGAR +static constexpr int64_t MINIMUM_CONNECT_TIME = 30; class PeerLogicValidation : public CValidationInterface, public NetEventsInterface { private: