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

Connect to all primary network validators on startup #597

Open
cam-schultz opened this issue Dec 13, 2024 · 0 comments
Open

Connect to all primary network validators on startup #597

cam-schultz opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cam-schultz
Copy link
Collaborator

Context and scope
On startup, we manually connect to a small number of primary network validators to bootstrap peer gossip, which eventually connects to all primary network validators. This takes a few rounds of peer gossip, however, which means that signature aggregation requests may fail immediately after startup due to insufficient peer connections. Instead, we could immediately connect to all primary network validators on startup to bypass this restriction.

Discussion and alternatives
Rather than sampling NumBootstrapNodes to connect to, connect to all peers returned by the call to info.Peers on startup.

Open questions
Should this be made the default behavior, or exposed as a config option?

@cam-schultz cam-schultz added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant