Skip to main content

window_hash

Function window_hash 

Source
fn window_hash(opts: &Opts) -> u64
Expand description

Order-independent content hash of an Op::MissingEvents window: the sorted latest_events and earliest_events sets plus the batch limit. Sorting before hashing folds request-order permutations onto one key; the two sets hash as distinct sequences so swapping them does not collide.