Skip to main content

verify_checkpoint_transparency_records

Function verify_checkpoint_transparency_records 

Source
pub fn verify_checkpoint_transparency_records(
    checkpoints: &[KernelCheckpoint],
    supplied: &CheckpointTransparencySummary,
) -> Result<CheckpointTransparencySummary, CheckpointError>
Expand description

Verify that supplied transparency records match the signed checkpoint set.

Valid trust-anchor bindings are preserved in the returned summary so callers can safely project publication state without collapsing back to raw checkpoint-only records.