Skip to main content

finalize_hitlist

Function finalize_hitlist 

Source
fn finalize_hitlist(
    ips: Vec<Address>,
    is_shuffle: bool,
) -> (Vec<Address>, IpVersions)
Expand description

Validate that a parsed hitlist is non-empty, collect the IP versions it uses, and optionally shuffle it. Shared by get_hitlist (file) and get_targets (inline --target list).

ยงPanics

  • If the hitlist is empty.