Module oasis_core_runtime::consensus::tendermint::merkle
source · Expand description
Merkle proofs used in Tendermint networks
Rewritten to Rust from: https://github.com/tendermint/tendermint/blob/main/crypto/merkle/proof.go
Helper functions copied from: https://github.com/informalsystems/tendermint-rs/blob/main/tendermint/src/merkle.rs
Structs§
- Proof represents a Merkle proof.
Constants§
- Maximum number of aunts that can be included in a Proof. This corresponds to a tree of size 2^100, which should be sufficient for all conceivable purposes. This maximum helps prevent Denial-of-Service attacks by limiting the size of the proofs.