Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore gossip peer selection #4615

Merged

Conversation

marc-casperlabs
Copy link
Contributor

This restore the gossiping peer selection. Note that the original method of sampling the outgoing limiter was not portable, since we do not keep a pre-built mapping of which NodeIds are validators ready. The use of the validator matrix changes, requiring only one lock instead of O(# connected peers).

Furthermore, the setting is now configurable, should it cause issues.

@marc-casperlabs marc-casperlabs merged commit 21eb439 into casper-network:feat-1.6 Apr 10, 2024
1 of 3 checks passed
@marc-casperlabs marc-casperlabs deleted the gossip-peer-selection branch April 10, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants