Versions in this module Expand all Collapse all v0 v0.0.21 Jun 7, 2022 v0.0.2 Jun 7, 2022 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)