# README
Simple Merkle Tree
For smaller static data structures that don't require immutable snapshots or mutability; for instance the transactions and validation signatures of a block can be hashed using this simple merkle tree logic.
# Functions
DefaultProofRuntime only knows about Simple value proofs.
Decode a path to a list of keys.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SimpleHashFromByteSlices computes a Merkle tree where the leaves are the byte slice, in the provided order.
SimpleHashFromByteSliceIterative is an iterative alternative to SimpleHashFromByteSlice motivated by potential performance improvements.
SimpleHashFromMap computes a Merkle tree from sorted map.
SimpleProofsFromByteSlices computes inclusion proof for given items.
SimpleProofsFromMap generates proofs from a map.
No description provided by the author
# Constants
No description provided by the author
Number of known encodings.
No description provided by the author
MaxAunts is the maximum number of aunts that can be included in a SimpleProof.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Proof is Merkle proof defined by the list of ProofOps.
ProofOp defines an operation used for calculating Merkle root The data could be arbitrary format, providing nessecary data for example neighbouring node hash.
No description provided by the author
SimpleProof represents a simple Merkle proof.
SimpleProofNode is a helper structure to construct merkle proof.
SimpleValueOp takes a key and a single value as argument and produces the root hash.
# Interfaces
ProofOperator is a layer for calculating intermediate Merkle roots when a series of Merkle trees are chained together.
Tree is a Merkle tree interface.
# Type aliases
No description provided by the author
A local extension to KVPair that can be hashed.
No description provided by the author
ProofOperators is a slice of ProofOperator(s).