Skip to main content

verify_sealed_result

Function verify_sealed_result 

Source
pub fn verify_sealed_result(
    result_directory: &Path,
    result_manifest_bytes: u64,
    result_manifest_sha256: &str,
) -> Result<()>
Expand description

Revalidates every entry in a sealed result and requires the external manifest byte-count/digest receipt captured when that result was created.

ยงErrors

Returns an error for a malformed receipt, any manifest/file mismatch, or a result directory that no longer matches the externally captured receipt.