Function pick_bandwidth_fn

Source
fn pick_bandwidth_fn<'a, I>(weights: I) -> BandwidthFn
where I: Clone + Iterator<Item = &'a RelayWeight>,
Expand description

Helper: Calculate the function we should use to find initial relay bandwidths.