Function libp2p_gossipsub::score_parameter_decay_with_base
source ยท pub fn score_parameter_decay_with_base(
decay: Duration,
base: Duration,
decay_to_zero: f64,
) -> f64
Expand description
Computes the decay factor for a parameter using base as the decay_interval
.