Function libp2p_gossipsub::score_parameter_decay
source · [−]Expand description
Computes the decay factor for a parameter, assuming the decay_interval
is 1s
and that the value decays to zero if it drops below 0.01.
Computes the decay factor for a parameter, assuming the decay_interval
is 1s
and that the value decays to zero if it drops below 0.01.