Versions in this module Expand all Collapse all v1 v1.0.2 Jan 15, 2024 v1.0.1 Jan 15, 2024 Changes in this version + var ErrMemorydbNotFound = errors.New("not found") + 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) NewIterator(prefix []byte, start []byte) ethdb.Iterator + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) Stat(property string) (string, error)