We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff99b8 commit c2dd6ceCopy full SHA for c2dd6ce
chain_bridge.go
@@ -27,10 +27,10 @@ import (
27
28
const (
29
// maxNumBlocksInCache is the maximum number of blocks we'll cache
30
- // timestamps for. With 100k blocks we should only take up approximately
31
- // 800kB of memory (4 bytes for the block height and 4 bytes for the
+ // timestamps for. With 400k blocks we should only take up approximately
+ // 3200kB of memory (4 bytes for the block height and 4 bytes for the
32
// timestamp, not including any map/cache overhead).
33
- maxNumBlocksInCache = 100_000
+ maxNumBlocksInCache = 400_000
34
)
35
36
// cacheableTimestamp is a wrapper around an uint32 that can be used as a value
0 commit comments