Versions in this module Expand all Collapse all v1 v1.9.0 Dec 1, 2023 v1.8.0 Oct 1, 2023 Changes in this version + type ChildResolver interface + ForEach func(node []byte, onChild func(common.Hash)) + type Database struct + func New(diskdb ethdb.Database, cleans *fastcache.Cache, resolver ChildResolver) *Database + func (db *Database) Cap(limit common.StorageSize) error + func (db *Database) Close() error + func (db *Database) Commit(node common.Hash, report bool) error + func (db *Database) Dereference(root common.Hash) + func (db *Database) Initialized(genesisRoot common.Hash) bool + func (db *Database) Node(hash common.Hash) ([]byte, error) + func (db *Database) Nodes() []common.Hash + func (db *Database) Reader(root common.Hash) *reader + func (db *Database) Reference(child common.Hash, parent common.Hash) + func (db *Database) Scheme() string + func (db *Database) Size() common.StorageSize + func (db *Database) Update(root common.Hash, parent common.Hash, nodes *trienode.MergedNodeSet) error