Skip to main content

make_node_checkpoint

Function make_node_checkpoint 

Source
pub fn make_node_checkpoint(
    checkpoint_id: impl Into<String>,
    node_id: impl Into<String>,
    logical_time: u64,
    state_bytes: Vec<u8>,
) -> NodeCheckpoint
Expand description

Helper to create a NodeCheckpoint with a correct Merkle root.