Skip to content

Conversation

@zlacfzy
Copy link
Contributor

@zlacfzy zlacfzy commented Apr 25, 2024

Description

Add query limit to defend DDoS attack. Max allow 100 different percentiles in rewardPercentiles.

Rationale

More bigger rewardPercentiles will enough to crash the serve.

Example

add an example CLI or API response...

Changes

Notable changes:

  • eth/gasprice/feehistory.go: add maxQueryLimit

@zlacfzy zlacfzy requested a review from zzzckck as a code owner April 25, 2024 03:30
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.

4 participants