Skip to main content

validate_cut_view_logs

Function validate_cut_view_logs 

Source
pub fn validate_cut_view_logs<'a>(
    manifests: impl IntoIterator<Item = &'a CheckpointManifest>,
) -> Result<(), String>
Expand description

Every view-log segment of a cut is listed once, and every participant that writes or references a view-log object agrees on its length and digest.

ยงErrors

Returns an error naming the first segment listed twice or the first object participants disagree on.