core: implement background trie prefetcher
Squashed from the following commits: core/state: lazily init snapshot storage map core/state: fix flawed meter on storage reads core/state: make statedb/stateobjects reuse a hasher core/blockchain, core/state: implement new trie prefetcher core: make trie prefetcher deliver tries to statedb core/state: refactor trie_prefetcher, export storage tries blockchain: re-enable the next-block-prefetcher state: remove panics in trie prefetcher core/state/trie_prefetcher: address some review concerns sq
Showing
- core/blockchain.go 20 additions, 7 deletionscore/blockchain.go
- core/state/database.go 10 additions, 2 deletionscore/state/database.go
- core/state/state_object.go 52 additions, 20 deletionscore/state/state_object.go
- core/state/statedb.go 42 additions, 3 deletionscore/state/statedb.go
- core/state/trie_prefetcher.go 249 additions, 0 deletionscore/state/trie_prefetcher.go
- crypto/crypto.go 15 additions, 2 deletionscrypto/crypto.go
- crypto/crypto_test.go 7 additions, 0 deletionscrypto/crypto_test.go
Loading
Please register or sign in to comment