mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-21 14:03:09 +00:00
fix typo
This commit is contained in:
parent
3cc169362f
commit
972505c7b8
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user