aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-08 20:57:02 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-08 20:57:02 +0800
commitf1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3 (patch)
tree2ff25b7bd69b8775dee2b84f44106e2a9f3f0b7e /eth/downloader/downloader.go
parent856b9e9c500dae60ed84e75d9577b2deb504558e (diff)
downloaddexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar.gz
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar.bz2
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar.lz
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar.xz
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.tar.zst
dexon-f1ec226d8069fcc4f79cbcec2bf0d1bb4795beb3.zip
eth/downloader: raise pending state limit that prevented concurrency
Diffstat (limited to 'eth/downloader/downloader.go')
-rw-r--r--eth/downloader/downloader.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index 163994730..698b99f8b 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -59,7 +59,6 @@ var (
maxQueuedHashes = 256 * 1024 // [eth/61] Maximum number of hashes to queue for import (DOS protection)
maxQueuedHeaders = 256 * 1024 // [eth/62] Maximum number of headers to queue for import (DOS protection)
- maxQueuedStates = 256 * 1024 // [eth/63] Maximum number of state requests to queue (DOS protection)
maxResultsProcess = 256 // Number of download results to import at once into the chain
fsHeaderCheckFrequency = 100 // Verification frequency of the downloaded headers during fast sync