Skip to main content

sync_epoch

Function sync_epoch 

Source
pub fn sync_epoch(
    conn: &Connection,
    collection: &str,
    chain: &Chain,
) -> Result<(), OpError>
Expand description

Puts the log’s key epoch, and the end each remaining member had at each epoch left, exactly where the chain says (one removal moves it one epoch): in either direction, so a removal that lost a fork to another entry leaves nothing behind. Called after every change to a chain.