Skip to main content

qualia_core_db/bundle/stream/proof/
mod.rs

1//! Entry-relative SHA-384 proofs. Integrity against a supplied root is not authority.
2mod builder;
3mod codec;
4mod hash;
5mod types;
6mod verify;
7pub use builder::{OutboardNode, TreeBuilder};
8pub use codec::{decode_proof, encode_proof};
9pub use hash::{empty_root, leaf_hash};
10pub use types::{
11    ProofError, Representation, TreeSpec, LEAF_BYTES, MAX_LOGICAL_BYTES, MAX_SIBLINGS,
12};
13pub use verify::verify_leaf;
14
15mod span;
16pub use span::{verify_leaf_span, SpanLimits, VerifiedLeafSpan, MAX_SPAN_BYTES, MAX_SPAN_LEAVES};
17
18mod path;
19pub(crate) use path::{sibling_ranges, ProofSiblingRange, SiblingSide};