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

Track the most recently active validators and sample the superblock committee from them #2448

Open
wants to merge 32 commits into
base: 2.0-master
Choose a base branch
from

Conversation

drcpu-github
Copy link
Collaborator

@drcpu-github drcpu-github commented Apr 15, 2024

This PR will allow to select a number of superblock voters from the set of recently active validators. Note that this may require a bootstrap committee when we switch to PoS since there will possibly be very few active validators at that time.

aesedepece and others added 30 commits February 12, 2024 17:59
This method allows to query the stakes of the specified argument.
The argument can contain:
- A validator and a withdrawer
- A validator
- A withdrawer
- Empty argument, uses the node's address as validator.

The type of the argument is an address as a string.
 Please enter the commit message for your changes. Lines starting
@aesedepece
Copy link
Member

I'll give this a thought on how to best integrate on top of wit/2

@drcpu-github
Copy link
Collaborator Author

drcpu-github commented Apr 19, 2024

I'll give this a thought on how to best integrate on top of wit/2

IMHO, this is one of the many small things that is required to strengthen wit/2 against griefing attacks. I'm by no means saying the implementation is the best approach, but the concept is definitely needed.

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 this pull request may close these issues.

3 participants