Versions in this module Expand all Collapse all v0 v0.0.1 Aug 27, 2025 Changes in this version + var HashDefaults = &Config + var VerkleDefaults = &Config + type Config struct + HashDB *hashdb.Config + IsVerkle bool + PathDB *pathdb.Config + Preimages bool + type Database struct + func NewDatabase(diskdb ethdb.Database, config *Config) *Database + func (db *Database) AccountHistory(address common.Address, start, end uint64) (*pathdb.HistoryStats, error) + func (db *Database) AccountIterator(root common.Hash, seek common.Hash) (pathdb.AccountIterator, error) + func (db *Database) Cap(limit common.StorageSize) error + func (db *Database) Close() error + func (db *Database) Commit(root common.Hash, report bool) error + func (db *Database) Dereference(root common.Hash) error + func (db *Database) Disable() error + func (db *Database) Disk() ethdb.Database + func (db *Database) Enable(root common.Hash) error + func (db *Database) HistoricReader(root common.Hash) (*pathdb.HistoricalStateReader, error) + func (db *Database) HistoryRange() (uint64, uint64, error) + func (db *Database) IndexProgress() (uint64, error) + func (db *Database) InsertPreimage(preimages map[common.Hash][]byte) + func (db *Database) IsVerkle() bool + func (db *Database) Journal(root common.Hash) error + func (db *Database) NodeReader(blockRoot common.Hash) (database.NodeReader, error) + func (db *Database) Preimage(hash common.Hash) []byte + func (db *Database) PreimageEnabled() bool + func (db *Database) Recover(target common.Hash) error + func (db *Database) Recoverable(root common.Hash) (bool, error) + func (db *Database) Reference(root common.Hash, parent common.Hash) error + func (db *Database) Scheme() string + func (db *Database) Size() (common.StorageSize, common.StorageSize, common.StorageSize) + func (db *Database) StateReader(blockRoot common.Hash) (database.StateReader, error) + func (db *Database) StorageHistory(address common.Address, slot common.Hash, start uint64, end uint64) (*pathdb.HistoryStats, error) + func (db *Database) StorageIterator(root common.Hash, account common.Hash, seek common.Hash) (pathdb.StorageIterator, error) + func (db *Database) Update(root common.Hash, parent common.Hash, block uint64, ...) error + func (db *Database) VerifyState(root common.Hash) error + func (db *Database) WritePreimages() + type StateSet struct + Accounts map[common.Hash][]byte + AccountsOrigin map[common.Address][]byte + RawStorageKey bool + Storages map[common.Hash]map[common.Hash][]byte + StoragesOrigin map[common.Address]map[common.Hash][]byte + func NewStateSet() *StateSet