diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 10:20:00 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 7ece1a9f76ba17eb07c078cce6f8ffe48bac7551 (patch) | |
tree | 6f3a71a6257e23521a1ed4be3088f436b757bdb3 /dex/downloader/downloader.go | |
parent | 3bc8c1628257b2fab50f260e048118fc56b1ab02 (diff) | |
download | go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.gz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.bz2 go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.lz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.xz go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.tar.zst go-tangerine-7ece1a9f76ba17eb07c078cce6f8ffe48bac7551.zip |
Fix lint
Diffstat (limited to 'dex/downloader/downloader.go')
-rw-r--r-- | dex/downloader/downloader.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dex/downloader/downloader.go b/dex/downloader/downloader.go index 828c7c6bc..07c72262c 100644 --- a/dex/downloader/downloader.go +++ b/dex/downloader/downloader.go @@ -68,10 +68,10 @@ var ( reorgProtThreshold = 48 // Threshold number of recent blocks to disable mini reorg protection reorgProtHeaderDelay = 2 // Number of headers to delay delivering to cover mini reorgs - fsHeaderSafetyNet = 2048 // Number of headers to discard in case a chain violation is detected - fsHeaderForceVerify = 24 // Number of headers to verify before and after the pivot to accept it - fsHeaderContCheck = 3 * time.Second // Time interval to check for header continuations during state download - fsMinFullBlocks = 64 // Number of blocks to retrieve fully even in fast sync + fsHeaderSafetyNet = 2048 // Number of headers to discard in case a chain violation is detected + // fsHeaderForceVerify = 24 // Number of headers to verify before and after the pivot to accept it + fsHeaderContCheck = 3 * time.Second // Time interval to check for header continuations during state download + fsMinFullBlocks = 64 // Number of blocks to retrieve fully even in fast sync ) var ( |