Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + type MergedNodeSet struct + Sets map[common.Hash]*NodeSet + func NewMergedNodeSet() *MergedNodeSet + func NewWithNodeSet(set *NodeSet) *MergedNodeSet + func (set *MergedNodeSet) Flatten() map[common.Hash]map[string]*Node + func (set *MergedNodeSet) Merge(other *NodeSet) error + type Node struct + Blob []byte + Hash common.Hash + func New(hash common.Hash, blob []byte) *Node + func NewDeleted() *Node + func (n *Node) IsDeleted() bool + func (n *Node) Size() int + type NodeSet struct + Leaves []*leaf + Nodes map[string]*Node + Owner common.Hash + func NewNodeSet(owner common.Hash) *NodeSet + func (set *NodeSet) AddLeaf(parent common.Hash, blob []byte) + func (set *NodeSet) AddNode(path []byte, n *Node) + func (set *NodeSet) ForEachWithOrder(callback func(path string, n *Node)) + func (set *NodeSet) Hashes() []common.Hash + func (set *NodeSet) Merge(owner common.Hash, nodes map[string]*Node) error + func (set *NodeSet) Size() (int, int) + func (set *NodeSet) Summary() string + type ProofList []rlp.RawValue + func (n *ProofList) Delete(key []byte) error + func (n *ProofList) Put(key []byte, value []byte) error + func (n ProofList) DataSize() int + func (n ProofList) Set() *ProofSet + func (n ProofList) Store(db ethdb.KeyValueWriter) + type ProofSet struct + func NewProofSet() *ProofSet + func (db *ProofSet) DataSize() int + func (db *ProofSet) Delete(key []byte) error + func (db *ProofSet) Get(key []byte) ([]byte, error) + func (db *ProofSet) Has(key []byte) (bool, error) + func (db *ProofSet) KeyCount() int + func (db *ProofSet) List() ProofList + func (db *ProofSet) Put(key []byte, value []byte) error + func (db *ProofSet) Store(target ethdb.KeyValueWriter)