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/txpool: implement additional DoS defenses #10

Merged

Conversation

easonchan17
Copy link

@easonchan17 easonchan17 commented Apr 12, 2023

This PR adds two new rules to the transaction pool:

  1. A future transaction can not evict a pending transaction
  2. A transaction can not overspend funds of a sender

Referencing details from geth's pr and bsc‘s pr

@charles2022wood charles2022wood merged commit 99bc810 into coredao-org:branch_v1.0.2 Apr 12, 2023
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.

3 participants