Versions in this module Expand all Collapse all v1 v1.0.1 Jul 3, 2024 v1.0.0 Nov 3, 2023 Changes in this version + type Database struct + func New(file string, cache int, handles int, namespace string, readonly bool) (*Database, error) + func NewCustom(file string, namespace string, customize func(options *opt.Options)) (*Database, error) + 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) 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) Path() string + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) Stat(property string) (string, error)