This commit is contained in:
vyzo 2020-05-01 21:44:10 +03:00
parent 3cc169362f
commit 972505c7b8

View File

@ -76,8 +76,7 @@ type PeerScoreParams struct {
// P7: behavioural pattern penalties.
// This parameter has an associated counter which tracks misbehaviour as detected by the
// router.
// The value of the parameter is the square of the counter, decaying with
// BehaviourPatternPenaltyDecay.
// The value of the parameter is the square of the counter, which decays with BehaviourPenaltyDecay.
// The weight of the parameter MUST be negative (or zero to disable).
BehaviourPenaltyWeight, BehaviourPenaltyDecay float64