Versions in this module Expand all Collapse all v0 v0.8.0 Nov 10, 2019 Changes in this version + type MerkMap struct + func NewMerkMap(dbDir string, rootHash interface{}, slot interface{}) (mp *MerkMap, err error) + func NewMerkMapFromDB(db *leveldb.DB, rtHash interface{}, slot interface{}) (mp *MerkMap, err error) + func (mp *MerkMap) ArrangeSlot(newSlot []byte) *MerkMap + func (mp *MerkMap) Close() error + func (mp *MerkMap) Commit(cb trie.LeafCallback) (root []byte, err error) + func (mp *MerkMap) MakeErrorProof(err error) string + func (mp *MerkMap) MakeErrorProofFromString(str string) string + func (mp *MerkMap) MakeProof(key []byte) string + func (mp *MerkMap) Revert() (err error) + func (mp *MerkMap) TryDelete(key []byte) error + func (mp *MerkMap) TryGet(key []byte) ([]byte, error) + func (mp *MerkMap) TryProve(key []byte) ([][]byte, error) + func (mp *MerkMap) TryPureDelete(key []byte) error + func (mp *MerkMap) TryPureGet(key []byte) ([]byte, error) + func (mp *MerkMap) TryUpdate(key []byte, value []byte) error + type ProofJson struct + Key []byte + Log string + Proof [][]byte + Value []byte