Skip to main content

build_checkpoint

Function build_checkpoint 

Source
pub fn build_checkpoint(
    scope: u64,
    committed_ids: &[StrongDigest],
) -> Result<Checkpoint, QdnfError>
Expand description

SHA-384 checkpoint over committed_ids in the given order.

QdnfError::Capacity if committed_ids.len() > MAX_CHECKPOINT_OPS. QdnfError::Conflict if any id appears more than once.