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

Allow the --beacon-nodes list to be updated at runtime #6551

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

macladson
Copy link
Member

Proposed Changes

Adds a new /lighthouse API call to the VC which allows the list of beacon nodes to be updated dynamically at runtime.

This can then be used in Siren, which will enable a "drag to reorder" system along with adding and removing beacon nodes while the VC is on. This will make it unnecessary to reboot the VC when a users want to simply add or remove a BN from the list.

Additional Information

The current design rebuilds the candidate list from scratch and then swaps it in. While I don't expect this process to take a long time, it's possible some API queries will fail during the swap over. Another option is to mutate the list in place, which prevents BNs which are present in both the old and new lists from being removed.

@macladson macladson added work-in-progress PR is a work-in-progress val-client Relates to the validator client binary labels Oct 29, 2024
@macladson macladson changed the title Allow the --beacon-node list to be updated at runtime Allow the --beacon-nodes list to be updated at runtime Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
val-client Relates to the validator client binary work-in-progress PR is a work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant