ethereum-optimism / ethereum-optimism/optimism
op-node Detailed statistics of peer message deliveries
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 38m
- Merged PRs (30d)
- 164
Description
**Is your feature request related to a problem? Please describe.**
I run a number of nodes in Base Mainnet. I often see peers that consume place in the peers list of my node and do not participate in blocks propagation process which often lead to significant delays in receiving new blocks. More detailed information in opp2p_peers response about peers activity can significantly help to identify malicious peers, monitor them and ban. Currently only latency parameter can be used to assess peers quality. After disabling per-topic peer scoring in https://github.com/ethereum-optimism/optimism/pull/15719 fields 'firstMessageDeliveries' and 'meshMessageDeliveries' in opp2p_peers are always filled with zeroes.
**Describe the solution you'd like**
It would be great if we can add some additional data to opp2p_peers which will show amount of message deliveries and first message deliveries from each peer. As a workaround I have restored per-topic peer scoring for blocksTopicV{1-4} but a more general approach will be more suitable.
Contributor guide
Assessment
This issue has not been assessed yet.