From f210a6e91a70f4b47f0bde2f0c57341a69b01e11 Mon Sep 17 00:00:00 2001 From: vyzo Date: Thu, 4 Jun 2020 00:03:31 +0300 Subject: [PATCH] pubsub: set Dout parameter to 3 (from the default of 2) we are using a higher D value than the default, so this can be safely increased. --- node/modules/lp2p/pubsub.go | 1 + 1 file changed, 1 insertion(+) diff --git a/node/modules/lp2p/pubsub.go b/node/modules/lp2p/pubsub.go index 9af2be346..c533ef8fb 100644 --- a/node/modules/lp2p/pubsub.go +++ b/node/modules/lp2p/pubsub.go @@ -22,6 +22,7 @@ func init() { // configure larger overlay parameters pubsub.GossipSubD = 8 pubsub.GossipSubDscore = 6 + pubsub.GossipSubDout = 3 pubsub.GossipSubDlo = 6 pubsub.GossipSubDhi = 12 pubsub.GossipSubDlazy = 12