Commit 44f419ec authored by Felix Lange's avatar Felix Lange

core/state: bump trie cache values slightly

parent 177cab5f
...@@ -39,12 +39,12 @@ import ( ...@@ -39,12 +39,12 @@ import (
var StartingNonce uint64 var StartingNonce uint64
const ( const (
// Number of past tries to keep. The arbitrarily chosen value here // Number of past tries to keep. This value is chosen such that
// is max uncle depth + 1. // reasonable chain reorg depths will hit an existing trie.
maxPastTries = 8 maxPastTries = 12
// Trie cache generation limit. // Trie cache generation limit.
maxTrieCacheGen = 100 maxTrieCacheGen = 120
// Number of codehash->size associations to keep. // Number of codehash->size associations to keep.
codeSizeCacheSize = 100000 codeSizeCacheSize = 100000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment