validate_state_cert

Function validate_state_cert 

Source
pub fn validate_state_cert(
    cert: &LightClientStateUpdateCertificateV2<SeqTypes>,
    stake_table: &HSStakeTable<SeqTypes>,
) -> Result<()>
Expand description

Validates a state certificate by verifying signatures and checking threshold