update godoc for P7
This commit is contained in:
parent
375b9b51df
commit
41f0c2fa96
|
@ -76,7 +76,8 @@ type PeerScoreParams struct {
|
||||||
// P7: behavioural pattern penalties.
|
// P7: behavioural pattern penalties.
|
||||||
// This parameter has an associated counter which tracks misbehaviour as detected by the
|
// This parameter has an associated counter which tracks misbehaviour as detected by the
|
||||||
// router. The router currently applies penalties for the following behaviors:
|
// router. The router currently applies penalties for the following behaviors:
|
||||||
// - attempting to re-graft before the prune backoff time has elapsed
|
// - attempting to re-graft before the prune backoff time has elapsed.
|
||||||
|
// - not following up in IWANT requests for messages advertised with IHAVE.
|
||||||
//
|
//
|
||||||
// The value of the parameter is the square of the counter, which decays with BehaviourPenaltyDecay.
|
// 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).
|
// The weight of the parameter MUST be negative (or zero to disable).
|
||||||
|
|
Loading…
Reference in New Issue