state

package
v0.0.0-...-3b087ab Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MerklizeState

func MerklizeState(s state.State, store *trie.DB) (crypto.Hash, error)

MerklizeState computes the Merkle root of a given state.

func SerializeState

func SerializeState(state state.State) (map[crypto.Hash][]byte, error)

SerializeState serializes the given state into a map of crypto.Hash to byte arrays, for merklization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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