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

[stateless_validation] Chunk endorsements spam protection #10516

Closed
staffik opened this issue Jan 28, 2024 · 1 comment
Closed

[stateless_validation] Chunk endorsements spam protection #10516

staffik opened this issue Jan 28, 2024 · 1 comment
Assignees
Labels
A-stateless-validation Area: stateless validation

Comments

@staffik
Copy link
Contributor

staffik commented Jan 28, 2024

// TODO(stateless_validation): It's possible for a malicious validator to send endorsements

We need to figure out if there's a possible security concern if someone spams the network with a lot of chunk endorsements and if we can come up with a heuristic to prevent this from happening.
Currently we are sending chunk endorsements to the next 5 block producers, but when a block producer receives an endorsement they still need to save it till it's potentially used.
process_chunk_endorsement is the first function that gets called from the network stack on receiving a chunk endorsement.

@staffik staffik self-assigned this Jan 28, 2024
@staffik staffik added the A-stateless-validation Area: stateless validation label Jan 28, 2024
@staffik
Copy link
Contributor Author

staffik commented Jan 30, 2024

#10522 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-stateless-validation Area: stateless validation
Projects
None yet
Development

No branches or pull requests

1 participant