Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant