tendermint

Module merkle

Source
Expand description

Merkle tree used in Tendermint networks

Re-exports§

pub use proof::Proof;
pub use crate::crypto::sha256::HASH_SIZE;

Modules§

proof
Merkle proofs

Structs§

NonIncremental
A wrapper for platform-provided host functions which can’t do incremental hashing. One unfortunate example of such platform is Polkadot.

Traits§

MerkleHash
Implementation of Merkle tree hashing for Tendermint.

Functions§

simple_hash_from_byte_vectors
Compute a simple Merkle root from vectors of arbitrary byte vectors. The leaves of the tree are the bytes of the given byte vectors in the given order.

Type Aliases§

Hash
Hash is the output of the cryptographic digest function