aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-20 00:16:09 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-30 00:51:49 +0800
commit855e76fddd8c5f0e024a536c0466f7578fcb592d (patch)
tree464a0c3561a881c554bcfc33f8965a1f85c2c7a0
parent4d117478368d6badf8d0e527f5bfd5bb6386deaa (diff)
downloadgo-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.gz
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.bz2
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.lz
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.xz
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.zst
go-tangerine-855e76fddd8c5f0e024a536c0466f7578fcb592d.zip
core: reduced cache limit to 256
-rw-r--r--core/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index e67439bb6..3adaf3344 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -36,7 +36,7 @@ var (
)
const (
- blockCacheLimit = 10000
+ blockCacheLimit = 256
maxFutureBlocks = 256
maxTimeFutureBlocks = 30
)