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

Register validator handlers by vote extension #1184

Open
mn13 opened this issue Jan 23, 2025 · 2 comments
Open

Register validator handlers by vote extension #1184

mn13 opened this issue Jan 23, 2025 · 2 comments
Assignees
Labels

Comments

@mn13
Copy link
Contributor

mn13 commented Jan 23, 2025

A validator should (after startup?) send a vote extension including what capabilities they can do (what future handlers they support).

The blockchain in the future might decide to assign a specific validator to a specific future (right now, the first validator introducing a result “wins”).

@warden-dev1
Copy link

Requires additional research, looks like research should be a separate big task.

@Pitasi
Copy link
Contributor

Pitasi commented Jan 28, 2025

  • the async module should have a registry validator->capabilities

validator nodes:

  • when sending a VE, it should check if its current capabilities match what's stored in the registry; and if not, it refreshes the capabilities by adding them to the VE

all the nodes:

  • when processing VE they keep the registry updated with the info seen in the VEs

@mn13 mn13 self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants