Function kitsune_p2p_dht::test_utils::generate_ideal_coverage
source · pub fn generate_ideal_coverage(
topo: &Topology,
rng: &mut StdRng,
strat: &ArqStrat,
cov: Option<f64>,
n: u32,
jitter: f64
) -> Peers
Expand description
Each agent is perfectly evenly spaced around the DHT (+/- some jitter), with stable arc lengths that are sized to meet the minimum coverage target