Skip to main content

verify_chain

Function verify_chain 

Source
pub fn verify_chain(
    chain: &[RotationAttestation],
    opts: ChainOptions,
) -> Result<ChainOutcome, ChainError>
Expand description

Walk the chain top-to-bottom and verify it forms a valid history. Returns the head pubkey + version on success.