Function akd::verify::key_history_verify

source ·
pub fn key_history_verify(
    vrf_public_key: &[u8],
    root_hash: [u8; 32],
    current_epoch: u64,
    akd_key: AkdLabel,
    proof: HistoryProof,
    params: HistoryVerificationParams
) -> Result<Vec<VerifyResult, Global>, VerificationError>
Expand description

Verifies a key history proof, given the corresponding sequence of hashes. Returns a vector of whether the validity of a hash could be verified. When false, the value <=> hash validity at the position could not be verified because the value has been removed (“tombstoned”) from the storage layer.