Documentation ¶
Index ¶
- func MPTFromImmutable(immutable trie.ImmutableForObject) *mpt
- func MPTFromImmutableForBytes(immutable trie.Immutable) *mptForBytes
- func NewImmutable(db db.Database, h []byte) trie.Immutable
- func NewImmutableForObject(db db.Database, h []byte, t reflect.Type) trie.ImmutableForObject
- func NewMPT(d db.Database, h []byte, t reflect.Type) *mpt
- func NewMPTForBytes(db db.Database, h []byte) *mptForBytes
- func NewManager(db db.Database) trie.Manager
- func NewMutable(database db.Database, h []byte) trie.Mutable
- func NewMutableForObject(db db.Database, h []byte, t reflect.Type) trie.MutableForObject
- func NewMutableFromImmutable(immutable trie.Immutable) trie.Mutable
- func NewMutableFromImmutableForObject(immutable trie.ImmutableForObject) trie.MutableForObject
- func SetCacheOfMutable(mutable trie.Mutable, cache *cache.NodeCache)
- func SetCacheOfMutableForObject(mutable trie.MutableForObject, cache *cache.NodeCache)
- type RLPEncoder
- type RLPListEncoder
- type RLPSerializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MPTFromImmutable ¶
func MPTFromImmutable(immutable trie.ImmutableForObject) *mpt
func NewImmutableForObject ¶
func NewMPTForBytes ¶
func NewMutableForObject ¶
func NewMutableFromImmutableForObject ¶
func NewMutableFromImmutableForObject(immutable trie.ImmutableForObject) trie.MutableForObject
func SetCacheOfMutableForObject ¶
func SetCacheOfMutableForObject(mutable trie.MutableForObject, cache *cache.NodeCache)
Types ¶
type RLPEncoder ¶
type RLPListEncoder ¶
type RLPListEncoder interface { RLPListSize() int RLPListEncode(e RLPEncoder) error }
type RLPSerializer ¶
type RLPSerializer interface {
RLPSerialize() []byte
}
Click to show internal directories.
Click to hide internal directories.