pub fn verify_header_proof(
proof_bytes: &[u8],
tip: u32,
mainnet: bool,
) -> Result<ProvenRoots, ZyncError>Expand description
Validate a header proof and extract proven NOMT roots.
Returns ProvenRoots on success, or error if the proof is invalid,
discontinuous, or too stale relative to tip.