• Robert Klotzner's avatar
    DoS protection on the collator protocol (#3446) · 1d478329
    Robert Klotzner authored
    * 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's avatarAndronik Ordian <write@reusable.software>