Skip to main content

build_checkpoint

Function build_checkpoint 

Source
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.