pub fn build_checkpoint(
checkpoint_seq: u64,
batch_start_seq: u64,
batch_end_seq: u64,
receipt_canonical_bytes_batch: &[Vec<u8>],
keypair: &Keypair,
) -> Result<KernelCheckpoint, CheckpointError>Expand description
Build a signed kernel checkpoint from a batch of canonical receipt bytes.
receipt_canonical_bytes_batch must not be empty. The first checkpoint of
a chain (checkpoint_seq == 1) commits a single-leaf chain; a detached
checkpoint at a later sequence is issued without a chain commitment.