Skip to main content

sweep

Function sweep 

Source
async fn sweep(
    services: &Services,
    events: &Family,
    statekeys: &Family,
    event_reverse: Vec<u64>,
    statekey_reverse: Vec<u64>,
    counter: u64,
) -> Result<Scan>
Expand description

Reads the deeper indexes for the worklists the repair consumes.

Statediff entries are tested against both families and chain-cache rows against either. The caller runs this only when a loser exists and no family-level verdict already decided the boot.