Skip to main content

verify_history

Function verify_history 

Source
pub fn verify_history(
    catalog: &[u8],
    sig: &str,
    pinned: &[String],
    now: u64,
    app_id: &str,
    bytes: &[u8],
) -> HistoryCheck
Expand description

Verifies the catalog as verify_catalog does (no stored serial), then history/<app_id>.json against the hash the verified catalog lists for it.