Versions in this module Expand all Collapse all v1 v1.101106.1 Jul 13, 2023 Changes in this version + type Database struct — darwin/amd64, linux/amd64, windows/amd64 + 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)