File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/beacon-node/src/network/gossip Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ export class Eth2Gossipsub extends GossipSub {
136136 // if this is false, only publish to mesh peers. If there is not enough GOSSIP_D mesh peers,
137137 // publish to some more topic peers to make sure we always publish to at least GOSSIP_D peers
138138 floodPublish : ! opts ?. disableFloodPublish ,
139+ // Only send IDONTWANT messages if the message size is larger than this
140+ // This should be large enough to not send IDONTWANT for "small" messages
141+ // See https://github.com/ChainSafe/lodestar/pull/7077#issuecomment-2383679472
142+ idontwantMinDataSize : 16829 ,
139143 } ) ;
140144 this . scoreParams = scoreParams ;
141145 this . config = config ;
You can’t perform that action at this time.
0 commit comments