Skip to main content

ratchet_to_checkpoint

Function ratchet_to_checkpoint 

Source
pub async fn ratchet_to_checkpoint(
    client: &mut Client,
    cache: &mut EpochCache,
    target_seq: u64,
) -> Result<(), LightClientError>
Available on crate feature unstable only.
Expand description

Advance cache forward so that it covers target_seq, with the default RatchetConfig and no archive endpoint.