Skip to main content

verify_forward_consistency

Function verify_forward_consistency 

Source
pub fn verify_forward_consistency(
    initial_commitment: &UtxoCommitment,
    new_commitment: &UtxoCommitment,
    expected_height_increase: Natural,
) -> UtxoCommitmentResult<bool>
Expand description

Verify forward consistency

Verifies that applying a sequence of blocks to a commitment results in a consistent new commitment. Used to ensure commitments remain valid as the chain progresses.