Versions in this module Expand all Collapse all v0 v0.0.1 Jun 21, 2024 Changes in this version + func Apply(prevRoot common.Hash, postRoot common.Hash, accounts map[common.Address][]byte, ...) (map[common.Hash]map[string]*trienode.Node, error) + type Set struct + Accounts map[common.Address][]byte + Incomplete map[common.Address]struct{} + Storages map[common.Address]map[common.Hash][]byte + func New(accounts map[common.Address][]byte, ...) *Set + func (s *Set) Size() common.StorageSize + type Trie interface + Commit func(collectLeaf bool) (common.Hash, *trienode.NodeSet, error) + Delete func(key []byte) error + Get func(key []byte) ([]byte, error) + Update func(key, value []byte) error + type TrieLoader interface + OpenStorageTrie func(stateRoot common.Hash, addrHash, root common.Hash) (Trie, error) + OpenTrie func(root common.Hash) (Trie, error)