Versions in this module Expand all Collapse all v1 v1.0.0 Jan 16, 2024 Changes in this version + type Database struct + func New() *Database + func NewWithCap(size int) *Database + func (db *Database) Close() error + func (db *Database) Compact(start []byte, limit []byte) error + func (db *Database) Delete(key []byte) error + func (db *Database) Get(key []byte) ([]byte, error) + func (db *Database) Has(key []byte) (bool, error) + func (db *Database) Len() int + func (db *Database) NewBatch() ethdb.Batch + func (db *Database) NewBatchWithSize(size int) ethdb.Batch + func (db *Database) NewIterator(prefix []byte, start []byte) ethdb.Iterator + func (db *Database) NewSnapshot() (ethdb.Snapshot, error) + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) Stat(property string) (string, error)