compute_effective_inactive_ids

Function compute_effective_inactive_ids 

Source
pub fn compute_effective_inactive_ids(
    nodes: &[LedgerNode],
) -> (HashSet<u128>, HashMap<u128, u128>, HashMap<u128, u128>)
Expand description

Computes the set of effectively inactive node IDs, along with superseded_by (old_id -> new_id) and retracted_by (old_id -> retract_stmt_id), across nodes in reverse chronological order.