aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-02-07 22:57:46 +0000
committerRoss Nicoll <[email protected]>2021-02-07 22:57:46 +0000
commitf9b9a591b837675dac6d0fa39e1ba0d5546852f6 (patch)
tree3f7382d5ffd8255b0f8bed702ec0d1b478bf5b5a /src/validation.h
parentAdapt block download timeouts to Dogecoin (diff)
downloaddiscoin-f9b9a591b837675dac6d0fa39e1ba0d5546852f6.tar.xz
discoin-f9b9a591b837675dac6d0fa39e1ba0d5546852f6.zip
Halve timeouts
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/validation.h b/src/validation.h
index 714422ac9..386979a14 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -119,10 +119,10 @@ static const unsigned int INVENTORY_BROADCAST_MAX = 7 * INVENTORY_BROADCAST_INTE
static const unsigned int AVG_FEEFILTER_BROADCAST_INTERVAL = 10 * 60;
/** Maximum feefilter broadcast delay after significant change. */
static const unsigned int MAX_FEEFILTER_CHANGE_DELAY = 5 * 60;
-/** Block download timeout base, expressed in millionths of the block interval (i.e. 10 min) */
-static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 10000000;
-/** Additional block download timeout per parallel downloading peer (i.e. 5 min) */
-static const int64_t BLOCK_DOWNLOAD_TIMEOUT_PER_PEER = 5000000;
+/** Block download timeout base, expressed in millionths of the block interval (i.e. 5 min) */
+static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 5000000;
+/** Additional block download timeout per parallel downloading peer (i.e. 2.5 min) */
+static const int64_t BLOCK_DOWNLOAD_TIMEOUT_PER_PEER = 2500000;
static const unsigned int DEFAULT_LIMITFREERELAY = 0;
static const bool DEFAULT_RELAYPRIORITY = true;