package
5.2.0
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# Functions

CreateTrieFromProto creates a Sparse Merkle Trie from its corresponding merkle trie.
GenerateTrieFromItems constructs a Merkle trie from a sequence of byte slices.
NewTrie returns a new merkle trie filled with zerohashes to use.
ProofFromMerkleLayers creates a proof starting at the leaf index of the merkle layers.
VerifyMerkleProof given a trie root, a leaf, the generalized merkle index of the leaf in the trie, and the proof itself.
VerifyMerkleProofWithDepth verifies a Merkle branch against a root of a trie.

# Variables

ZeroHashes is a representation of all zerohashes of varying depths till h=100.

# Structs

SparseMerkleTrie implements a sparse, general purpose Merkle trie to be used across Ethereum consensus functionality.