Versions in this module Expand all Collapse all v1 v1.0.2 Dec 20, 2023 v1.0.1 Dec 19, 2023 Changes in this version + type Database struct + func New(file string, cache int, handles int, namespace string, readonly bool, ...) (*Database, error) + func (d *Database) Close() error + func (d *Database) Compact(start []byte, limit []byte) error + func (d *Database) Delete(key []byte) error + func (d *Database) Get(key []byte) ([]byte, error) + func (d *Database) Has(key []byte) (bool, error) + func (d *Database) NewBatch() ethdb.Batch + func (d *Database) NewBatchWithSize(size int) ethdb.Batch + func (d *Database) NewIterator(prefix []byte, start []byte) ethdb.Iterator + func (d *Database) NewSnapshot() (ethdb.Snapshot, error) + func (d *Database) Path() string + func (d *Database) Put(key []byte, value []byte) error + func (d *Database) Stat(property string) (string, error)