go-ethereum/core/txpool
Daniel Liu 7d67a4ead4
refactor(txpool,eth,miner): use pending filter struct #29026 (#2160)
Introduce txpool.PendingFilter and migrate Pending(...) signatures from positional params to a typed struct.

- Add core/txpool.PendingFilter with MinTip/BaseFee fields for cheap call-site filtering
- Update txpool subpool interface and all call sites in eth/miner to pass the filter struct
- Keep behavior unchanged for empty filter (equivalent to previous nil,nil usage)
- Refresh legacypool tests to use the new API shape

This is a refactor-only change intended to improve API clarity and future extensibility without changing consensus or RPC semantics.
2026-03-11 08:58:07 +05:30
..
legacypool refactor(txpool,eth,miner): use pending filter struct #29026 (#2160) 2026-03-11 08:58:07 +05:30
errors.go core/txpool: add 7702 protection to blobpool #31526 (#1930) 2026-01-26 11:20:02 +05:30
reserver.go core/txpool: add 7702 protection to blobpool #31526 (#1930) 2026-01-26 11:20:02 +05:30
subpool.go refactor(txpool,eth,miner): use pending filter struct #29026 (#2160) 2026-03-11 08:58:07 +05:30
txpool.go refactor(txpool,eth,miner): use pending filter struct #29026 (#2160) 2026-03-11 08:58:07 +05:30
validation.go refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30