ompt

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MPTFromImmutable

func MPTFromImmutable(immutable trie.ImmutableForObject) *mpt

func MPTFromImmutableForBytes

func MPTFromImmutableForBytes(immutable trie.Immutable) *mptForBytes

func NewImmutable

func NewImmutable(db db.Database, h []byte) trie.Immutable

func NewImmutableForObject

func NewImmutableForObject(db db.Database, h []byte, t reflect.Type) trie.ImmutableForObject

func NewMPT

func NewMPT(d db.Database, h []byte, t reflect.Type) *mpt

func NewMPTForBytes

func NewMPTForBytes(db db.Database, h []byte) *mptForBytes

func NewManager

func NewManager(db db.Database) trie.Manager

func NewMutable

func NewMutable(database db.Database, h []byte) trie.Mutable

func NewMutableForObject

func NewMutableForObject(db db.Database, h []byte, t reflect.Type) trie.MutableForObject

func NewMutableFromImmutable

func NewMutableFromImmutable(immutable trie.Immutable) trie.Mutable

func NewMutableFromImmutableForObject

func NewMutableFromImmutableForObject(immutable trie.ImmutableForObject) trie.MutableForObject

func SetCacheOfMutable

func SetCacheOfMutable(mutable trie.Mutable, cache *cache.NodeCache)

func SetCacheOfMutableForObject

func SetCacheOfMutableForObject(mutable trie.MutableForObject, cache *cache.NodeCache)

Types

type RLPEncoder

type RLPEncoder interface {
	RLPEncode(o interface{}) error
	RLPWrite(b []byte)
}

type RLPListEncoder

type RLPListEncoder interface {
	RLPListSize() int
	RLPListEncode(e RLPEncoder) error
}

type RLPSerializer

type RLPSerializer interface {
	RLPSerialize() []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL