mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
Adapt block download timeouts to Dogecoin
Block download timeouts are expressed as a fraction of block interval time, so Dogecoin values have been too aggressive. Matching Bitcoin values as a starting point.
This commit is contained in:
parent
c338a71bd2
commit
a4638bb50f
@ -116,7 +116,7 @@ testScripts = [
|
||||
'wallet-dump.py',
|
||||
'listtransactions.py',
|
||||
# vv Tests less than 60s vv
|
||||
# 'sendheaders.py',
|
||||
'sendheaders.py',
|
||||
'zapwallettxes.py',
|
||||
'importmulti.py',
|
||||
'mempool_limit.py',
|
||||
|
||||
@ -120,9 +120,9 @@ 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 = 1000000;
|
||||
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 = 500000;
|
||||
static const int64_t BLOCK_DOWNLOAD_TIMEOUT_PER_PEER = 5000000;
|
||||
|
||||
static const unsigned int DEFAULT_LIMITFREERELAY = 0;
|
||||
static const bool DEFAULT_RELAYPRIORITY = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user