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

core/vote/vote_pool: protect pool against malicious peer #309

Conversation

minh-bq
Copy link
Contributor

@minh-bq minh-bq commented Jul 12, 2023

This commit limits the number of votes in future queue per peer as the vote in future queue is not fully verified. The check happens before the costly basicVerify which has to verify the BLS signature.

@minh-bq minh-bq requested a review from DNK90 July 12, 2023 08:17
This commit limits the number of votes in future queue per peer as the vote in
future queue is not fully verified. The check happens before the costly
basicVerify which has to verify the BLS signature.
@minh-bq minh-bq force-pushed the feat/vote-manager-limit-vote branch from 5933c6f to 4fe6af5 Compare July 12, 2023 08:40
@minh-bq minh-bq merged commit 3d2eea0 into axieinfinity:feat/optimistic_fast_finality Jul 13, 2023
@minh-bq minh-bq deleted the feat/vote-manager-limit-vote branch July 13, 2023 04:09
minh-bq added a commit to minh-bq/ronin that referenced this pull request Aug 29, 2023
…y#309)

This commit limits the number of votes in future queue per peer as the vote in
future queue is not fully verified. The check happens before the costly
basicVerify which has to verify the BLS signature.
minh-bq added a commit to minh-bq/ronin that referenced this pull request Sep 7, 2023
…y#309)

This commit limits the number of votes in future queue per peer as the vote in
future queue is not fully verified. The check happens before the costly
basicVerify which has to verify the BLS signature.
minh-bq added a commit that referenced this pull request Sep 7, 2023
This commit limits the number of votes in future queue per peer as the vote in
future queue is not fully verified. The check happens before the costly
basicVerify which has to verify the BLS signature.
andicrypt pushed a commit to andicrypt/ronin that referenced this pull request Nov 1, 2023
…y#309)

This commit limits the number of votes in future queue per peer as the vote in
future queue is not fully verified. The check happens before the costly
basicVerify which has to verify the BLS signature.
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.

2 participants