This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DoS protection on the collator protocol (#3446)
* Move on to next validator after timeout. * Better naming. * Wrong implementation of validator fetch timeouts. * Validator side: Move on to next collator if download takes too long. * Drop multiple requests from same validator. * Add test that next response is sent after timeout. * Multiple requests by same validator should get dropped. * Test that another collator is tried after exclusive download time. * Add dep. * Cleanup. * Merge fix. * Review remarks. * Fixes. * Add log targets to trace logs Co-authored-by: Andronik Ordian <write@reusable.software>
- Loading branch information
Showing
6 changed files
with
350 additions
and
146 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.