celestiaorg / celestiaorg/celestia-node

modp2p: increase the SeenMessage interval in PubSub

Open
#2,934 1 comment 1 reaction 1 assignee Claimed by @Wondertan View on GitHub
area:p2p stale
Dominant language
Go
Stars
996
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
34

Description

We periodically receive old headers from the network that were already synced. Increasing the seen message interval should decrease those.

The only downside is that it may eat slightly more RAM, but it will improve GossipSub peering behaviors. Instead of punishing outdated messages as invalid, it will only reduce communication with the peer. This is especially important when the new CHOKE msg is introduced in the GossipSub v1.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.