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

Improve validator RPC address selection #7751

Closed
mvines opened this issue Jan 10, 2020 · 0 comments · Fixed by #7759
Closed

Improve validator RPC address selection #7751

mvines opened this issue Jan 10, 2020 · 0 comments · Fixed by #7759
Assignees

Comments

@mvines
Copy link
Member

mvines commented Jan 10, 2020

// Prefer the entrypoint's RPC service it it has one, otherwise pick the first RPC
// service found

Instead of picking the first address found:

  1. Select a random address from the list found
  2. If that random address does not respond, try another one until success

Some of the RPC ports validators publish are not accessible, and if the first address found is one those then a booting validator could get stuck for days

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 a pull request may close this issue.

1 participant