diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 62842adbc6..84d2f6c404 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -38,8 +38,8 @@ import ( var ( MaxHashFetch = 512 // Amount of hashes to be fetched per retrieval request - MaxBlockFetch = 128 // Amount of blocks to be fetched per retrieval request - MaxHeaderFetch = 192 // Amount of block headers to be fetched per retrieval request + MaxBlockFetch = 900 // Amount of blocks to be fetched per retrieval request + MaxHeaderFetch = 900 // Amount of block headers to be fetched per retrieval request MaxSkeletonSize = 128 // Number of header fetches to need for a skeleton assembly MaxBodyFetch = 128 // Amount of block bodies to be fetched per retrieval request MaxReceiptFetch = 256 // Amount of transaction receipts to allow fetching per request @@ -56,8 +56,8 @@ var ( qosConfidenceCap = 10 // Number of peers above which not to modify RTT confidence qosTuningImpact = 0.25 // Impact that a new tuning target has on the previous value - maxQueuedHeaders = 32 * 1024 // [eth/62] Maximum number of headers to queue for import (DOS protection) - maxHeadersProcess = 2048 // Number of header download results to import at once into the chain + maxQueuedHeaders = 900 // [eth/62] Maximum number of headers to queue for import (DOS protection) + maxHeadersProcess = 900 // Number of header download results to import at once into the chain maxResultsProcess = 2048 // Number of content download results to import at once into the chain fsHeaderCheckFrequency = 100 // Verification frequency of the downloaded headers during fast sync