From 53c2662613a6ed8d7f239f5000880a90ed18760c Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 7 May 2020 00:35:24 +0300 Subject: [PATCH] godoc --- score_params.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/score_params.go b/score_params.go index ad2bc24..94f5525 100644 --- a/score_params.go +++ b/score_params.go @@ -75,7 +75,9 @@ type PeerScoreParams struct { // P7: behavioural pattern penalties. // This parameter has an associated counter which tracks misbehaviour as detected by the - // router. + // router. The router currently applies penalties for the following behaviors: + // - attempting to re-graft before the prune backoff time has elapsed + // // 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