plugeth/core/txpool
Marius van der Wijden 6cf2e921a7
core/txpool: implement additional DoS defenses (#26648)
This adds two new rules to the transaction pool:

- A future transaction can not evict a pending transaction.
- A transaction can not overspend available funds of a sender.

---

Co-authored-by: dwn1998 <42262393+dwn1998@users.noreply.github.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-03-10 18:30:26 +01:00
..
journal.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
list_test.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
list.go core/txpool: implement additional DoS defenses (#26648) 2023-03-10 18:30:26 +01:00
noncer.go all: refactor txpool into it's own package in prep for 4844 2022-10-24 16:35:53 +03:00
txpool2_test.go core/txpool: implement additional DoS defenses (#26648) 2023-03-10 18:30:26 +01:00
txpool_test.go core/txpool: implement additional DoS defenses (#26648) 2023-03-10 18:30:26 +01:00
txpool.go core/txpool: implement additional DoS defenses (#26648) 2023-03-10 18:30:26 +01:00