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

gossip: reduce votes stored per validator from 31 to 2 #2982

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AshwinSekar
Copy link

@AshwinSekar AshwinSekar commented Sep 25, 2024

Problem

Now that votes are no longer incremental, it is not necessary for gossip to hold 31 votes per validator.

Summary of Changes

Instead store MAX_VOTES = 2 votes per validator. With the improvement to OC tracking in #3136, I believe that we will be fine with only 1 vote, however 2 votes might be beneficial in the case of refreshed votes.

Note: DO NOT MERGE until tested in sim clusters

@AshwinSekar AshwinSekar changed the title gossip: reduce votes stored per validator from 31 to 6 gossip: reduce votes stored per validator from 31 to 1 Oct 16, 2024
@AshwinSekar AshwinSekar changed the title gossip: reduce votes stored per validator from 31 to 1 gossip: reduce votes stored per validator from 31 to 2 Oct 16, 2024
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.

1 participant