Versions in this module Expand all Collapse all v0 v0.9.0 Mar 1, 2024 Changes in this version + type DBGetter interface + Get func(key []byte) (value []byte, err error) + type DBPutter interface + Put func(key []byte, value []byte) error + type Database interface + type MemoryDB struct + func NewEmptyMemoryDB() *MemoryDB + func NewMemoryDBFromProof(encodedNodes [][]byte) (*MemoryDB, error) + func (mdb *MemoryDB) Copy() Database + func (mdb *MemoryDB) Get(key []byte) ([]byte, error) + func (mdb *MemoryDB) Put(key, value []byte) error