go-ethereum/core/txpool/legacypool
buddho fc4dd183e9
core/txpool: fix error logs flood caused by removeAuthorities (#31249)
when remove an non-SetCodeTxType transaction, error logs flood
```
t=2025-02-25T03:11:06+0000 lvl=error msg="Authority with untracked tx" addr=0xD5bf9221fCB1C31Cd1EE477a60c148d40dD63DC1 hash=0x626fdf205a5b1619deb2f9e51fed567353f80acbd522265b455daa0821c571d9
```

in this PR, only try to removeAuthorities for txs with SetCodeTxType

in addition, the performance of removeAuthorities improved a lot,
because no need range all `t.auths` now.

---------

Co-authored-by: lightclient <lightclient@protonmail.com>
2025-02-27 17:08:33 +08:00
..
legacypool.go core/txpool: fix error logs flood caused by removeAuthorities (#31249) 2025-02-27 17:08:33 +08:00
legacypool2_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
legacypool_test.go core/txpool: fix error logs flood caused by removeAuthorities (#31249) 2025-02-27 17:08:33 +08:00
list.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +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