Skip to main content

replay_for

Function replay_for 

Source
pub(crate) fn replay_for(
    state: &AppState,
    c: &Checkpoint,
) -> Result<Option<Arc<Replay>>, String>
Expand description

What a replaying run needs besides its checkpoint: the run it came from said what, for the blocks it stubs. None for a checkpoint of a run that is not a replay. A replay whose source run’s checkpoints are gone cannot be taken up again (what its stubs said is not kept anywhere else).