ChainSafe / ChainSafe/gossamer

Send vote data only for peers who send us neighbor messages

Open
#2,760 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

- Currently, we gossip prevote/pre-commit messages until the round is done for all connected peers, but it is important that we only send vote data for peers who send us `neighbor messages`
- Would be nice to have a sort of peer view tracker based on neighbor messages received from the network, that way every time we want to send voting data we check in the peer view tracker the peers who are in the same round as us.

## Other information and links

- https://matrix.to/#/!oZltgdfyakVMtEAWCI:web3.foundation/$bxs0GCJoeBHgstn8_rFfbN06id9ZUlxb0ErhCyFUq_k?via=web3.foundation&via=matrix.org&via=matrix.parity.io

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.