Skip to main content

any_unclaimed

Function any_unclaimed 

Source
fn any_unclaimed(
    reverse_bits: &[u64],
    forward_bits: &[u64],
    counter: u64,
) -> bool
Expand description

Whether any reverse key’s short id went unclaimed by a forward value.

The bitmaps round up to a whole word, so ids past the counter are addressable in the last one and are masked off. The mask keeps the counter’s own bit, matching the bound the loser pass applies.