From de05120e692b4c9554de587da35909f4cacd2dfd Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 20 Aug 2020 22:32:41 +0300 Subject: [PATCH] increase behaviour penalty threshold to 6 --- node/modules/lp2p/pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/lp2p/pubsub.go b/node/modules/lp2p/pubsub.go index 41f6599a8..2c13277be 100644 --- a/node/modules/lp2p/pubsub.go +++ b/node/modules/lp2p/pubsub.go @@ -112,8 +112,8 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) { // IPColocationFactorWhitelist: map[string]struct{}{}, // P7: behavioural penalties, decay after 1hr + BehaviourPenaltyThreshold: 6, BehaviourPenaltyWeight: -10, - BehaviourPenaltyThreshold: 3, BehaviourPenaltyDecay: pubsub.ScoreParameterDecay(time.Hour), DecayInterval: pubsub.DefaultDecayInterval,