fn interleave_peer_hashes(
download_set: &mut IndexSet<Hash>,
responses: VecDeque<impl Iterator<Item = Hash>>,
)Expand description
Orders tip response hashes round-robin across responses, so each peer’s next hash is admitted before any peer’s later hashes when the lookahead limit caps the batch.
Duplicates are removed after interleaving, so one response can’t bury another peer’s next hash deep in its own list.