mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix build
This commit is contained in:
parent
31f3ddf684
commit
caa52719b2
1 changed files with 4 additions and 4 deletions
|
|
@ -42,10 +42,10 @@ const (
|
|||
)
|
||||
|
||||
var (
|
||||
blockCacheMaxItems = 32768 // Maximum number of blocks to cache before throttling the download
|
||||
blockCacheInitialItems = blockCacheMemory / (10 * 1024 * 1024) // Initial number of blocks to start fetching, before we know the sizes of the blocks
|
||||
blockCacheSizeWeight = 0.1 // Multiplier to approximate the average block size based on past ones
|
||||
blockCacheMemory uint64 = 2 * 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
||||
blockCacheMaxItems = 32768 // Maximum number of blocks to cache before throttling the download
|
||||
blockCacheInitialItems = int(blockCacheMemory) / (10 * 1024 * 1024) // Initial number of blocks to start fetching, before we know the sizes of the blocks
|
||||
blockCacheSizeWeight = 0.1 // Multiplier to approximate the average block size based on past ones
|
||||
blockCacheMemory uint64 = 2 * 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue