Skip to content

Commit 62b9a55

Browse files
committed
Reduce block timeout to 10 minutes
Now that bitcoin#7804 fixed the timeout handling, reduce the block timeout from 20 minutes to 10 minutes. 20 minutes is overkill.
1 parent 1ddf0ce commit 62b9a55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ static const unsigned int AVG_INVENTORY_BROADCAST_INTERVAL = 5;
106106
static const unsigned int AVG_FEEFILTER_BROADCAST_INTERVAL = 10 * 60;
107107
/** Maximum feefilter broadcast delay after significant change. */
108108
static const unsigned int MAX_FEEFILTER_CHANGE_DELAY = 5 * 60;
109-
/** Block download timeout base, expressed in millionths of the block interval (i.e. 20 min) */
110-
static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 2000000;
109+
/** Block download timeout base, expressed in millionths of the block interval (i.e. 10 min) */
110+
static const int64_t BLOCK_DOWNLOAD_TIMEOUT_BASE = 1000000;
111111
/** Additional block download timeout per parallel downloading peer (i.e. 5 min) */
112112
static const int64_t BLOCK_DOWNLOAD_TIMEOUT_PER_PEER = 500000;
113113

0 commit comments

Comments
 (0)