go-ethereum/core/txpool
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
..
blobpool build: replace `tenv` linter with `usetesting` (#31172) 2025-02-21 13:36:18 +01:00
legacypool core/txpool: fix error logs flood caused by removeAuthorities (#31249) 2025-02-27 17:08:33 +08:00
locals core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
errors.go core/txpool: move setcode tx validation into legacyPool (#31209) 2025-02-24 14:17:21 -07:00
subpool.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
txpool.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
validation.go core/txpool: move setcode tx validation into legacyPool (#31209) 2025-02-24 14:17:21 -07:00