pub fn verify_pull(
entry: &RegistryEntry,
frontier_path: &Path,
) -> Result<(), String>Expand description
Pull verification: given a registry entry and the path to a pulled-frontier file on disk, verify that:
- The entry’s signature verifies against its declared pubkey.
- The frontier’s
snapshot_hashmatches the entry’slatest_snapshot_hash. - The frontier’s
event_log_hashmatches the entry’slatest_event_log_hash.
Returns Ok(()) if all three hold; Err(reason) on any mismatch.