go-ethereum/core/txpool
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
..
blobpool Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521) 2024-09-27 13:56:25 +03:00
legacypool Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521) 2024-09-27 13:56:25 +03:00
errors.go core/txpool: elevate the 'already reserved' error into a constant (#29095) 2024-02-27 13:27:50 +02:00
subpool.go Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521) 2024-09-27 13:56:25 +03:00
txpool.go Revert "core/txpool, eth/catalyst: ensure gas tip retains current value upon rollback" (#30521) 2024-09-27 13:56:25 +03:00
validation.go core/txpool: use the cached address in ValidateTransactionWithState (#30208) 2024-07-23 14:07:06 +02:00