eth/downloader: cap the hash ban set, add test for it
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
"gopkg.in/karalabe/cookiejar.v2/collections/prque"
|
||||
)
|
||||
|
||||
const (
|
||||
var (
|
||||
blockCacheLimit = 8 * MaxBlockFetch // Maximum number of blocks to cache before throttling the download
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user