accountTrieCache and storageTrieCache were introduced in this PR: https://github.com/bnb-chain/bsc/pull/257, which is to improve performance. Actually the performance gain is quite limited, as there is already dirty and clean cache for trie node. And after big merge, these 2 cache can not be used when PBSS is enabled. So remove these code to simplify the logic. |
||
|---|---|---|
| .. | ||
| lightchain_test.go | ||
| lightchain.go | ||
| nodeset.go | ||
| odr_test.go | ||
| odr_util.go | ||
| odr.go | ||
| postprocess.go | ||
| trie_test.go | ||
| trie.go | ||
| txpool_test.go | ||
| txpool.go | ||