go-ethereum/core/txpool/legacypool
jwasinger 581e2140f2
core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534)
This adds an API method `DropTransactions` to legacy pool, blob pool and
txpool interface. This method removes all txs currently tracked in the
pools.

It modifies the simulated beacon to use the new method in `Rollback`
which removes previous hacky implementation that also erroneously reset
the gas tip to 1 gwei.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-11-19 13:35:52 +01:00
..
journal.go core/txpool: no need to log loud rotate if no local txs (#29083) 2024-02-26 18:34:45 +02:00
legacypool.go core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534) 2024-11-19 13:35:52 +01:00
legacypool2_test.go core/state: state reader abstraction (#29761) 2024-09-05 13:10:47 +03:00
legacypool_test.go core/state: state reader abstraction (#29761) 2024-09-05 13:10:47 +03:00
list.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
list_test.go core/txpool/legacypool: remove a redundant heap.Init (#28910) 2024-02-15 19:50:17 +01:00
noncer.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00