aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-04-07 13:18:11 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-07 13:53:48 +0200
commit4c3a00d35ca31b66cba416092558e4a55e1da9d8 (patch)
treea814c502f39ba7c41e221d42a836775c629e9ec7
parent90f1d246d38803eb546c6652ddce5ebea55eec98 (diff)
Reduce block timeout to 10 minutes
Now that #7804 fixed the timeout handling, reduce the block timeout from 20 minutes to 10 minutes. 20 minutes is overkill. Conflicts: src/main.h Github-Pull: #7832 Rebased-From: 62b9a557fca2aa55803c336ffcceccc50ccf0c3e
-rw-r--r--src/main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index a89d14cdcb..1a696dcd91 100644
--- a/src/main.h
+++ b/src/main.h
@@ -98,8 +98,8 @@ static const unsigned int AVG_ADDRESS_BROADCAST_INTERVAL = 30;
/** Average delay between trickled inventory broadcasts in seconds.
* Blocks, whitelisted receivers, and a random 25% of transactions bypass this. */
static const unsigned int AVG_INVENTORY_BROADCAST_INTERVAL = 5;
-/** Block download timeout base, expressed in millionths of the block interval (i.e. 20 min) */
-static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 2000000;
+/** Block download timeout base, expressed in millionths of the block interval (i.e. 10 min) */
+static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 1000000;
/** Additional block download timeout per parallel downloading peer (i.e. 5 min) */
static const int64_t BLOCK_DOWNLOAD_TIMEOUT_PER_PEER = 500000;