go-ethereum/core/txpool/legacypool
Péter Szilágyi 1df75dbe36
Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521)
Reverts ethereum/go-ethereum#30495

You are free to create a proper Clear method if that's the best way. But
one that does a proper cleanup, not some hacky call to set gas which
screws up logs, metrics and everything along the way. Also doesn't work
for legacy pool local transactions.

The current code had a hack in the simulated code, now we have a hack in
live txpooling code. No, that's not acceptable. I want the live code to
be proper, meaningful API, meaningful comments, meaningful
implementation.
2024-09-27 13:56:25 +03:00
..
journal.go core/txpool: no need to log loud rotate if no local txs (#29083) 2024-02-26 18:34:45 +02: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
legacypool.go Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521) 2024-09-27 13:56:25 +03:00
list_test.go core/txpool/legacypool: remove a redundant heap.Init (#28910) 2024-02-15 19:50:17 +01:00
list.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
noncer.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00