Skip to main content

inspect_proof_bundle

Function inspect_proof_bundle 

Source
pub fn inspect_proof_bundle(bytes: &[u8]) -> Result<ProofBundleSummary, Error>
Expand description

Decode lightweight metadata from canonical proof bundle bytes.

This function lets callers route an opaque bundle to the right typed decoder without consulting a store. It validates version/kind framing and root CID lengths, but it does not prove membership, absence, range completeness, or diff-page continuation correctness.