go-ethereum/core/txpool/legacypool
Csaba Kiraly 9a8e14e77e
Some checks failed
/ Linux Build (push) Has been cancelled
/ Linux Build (arm) (push) Has been cancelled
/ Keeper Build (push) Has been cancelled
/ Windows Build (push) Has been cancelled
/ Docker Image (push) Has been cancelled
core/txpool/legacypool: fix stale counter (#33653)
Calling `pool.priced.Removed` is needed to keep is sync with
`pool.all.Remove`.
It was called in other occurances, but not here.

The counter is used for internal heap management. It was working even without this, just not calling reheap at the intended frequency.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2026-01-23 13:35:14 +01:00
..
legacypool.go core/txpool/legacypool: fix stale counter (#33653) 2026-01-23 13:35:14 +01:00
legacypool2_test.go eth: add tx to locals only if it has a chance of acceptance (#31618) 2025-04-17 21:27:48 +02:00
legacypool_test.go core/txpool/legacypool: move queue out of main txpool (#32270) 2025-10-13 19:07:36 +02:00
list.go core/txpool: add sanity overflow check (#32544) 2025-09-10 21:33:15 +08: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
queue.go core/txpool/legacypool: add metric for accounts in txpool (#33646) 2026-01-21 09:23:03 +08:00