Versions in this module Expand all Collapse all v0 v0.6.3 Nov 22, 2024 Changes in this version + func AssertTrieConsistency(t testing.TB, root common.Hash, a, b *trie.Database, ...) + func CorruptTrie(t *testing.T, diskdb ethdb.Batcher, tr *trie.Trie, n int) + func FillAccounts(t *testing.T, trieDB *trie.Database, root common.Hash, numAccounts int, ...) (common.Hash, map[*keystore.Key]*types.StateAccount) + func FillTrie(t *testing.T, start, numKeys int, keySize int, trieDB *trie.Database, ...) (common.Hash, [][]byte, [][]byte) + func GenerateTrie(t *testing.T, trieDB *trie.Database, numKeys int, keySize int) (common.Hash, [][]byte, [][]byte) + type AccountIterator struct + func (it *AccountIterator) Error() error + func (it *AccountIterator) Key() []byte + func (it *AccountIterator) Next() bool + func (it *AccountIterator) Value() []byte + type StorageIterator struct + func (it *StorageIterator) Key() []byte + func (it *StorageIterator) Value() []byte