go-ethereum/core/txpool
Daniel Liu 6f02401575
fix(core/txpool): avoid blocking reset completion on close #31030 (#2175)
* fix(core/txpool): coordinate reset lifecycle and shutdown signaling #28837

Improve txpool loop synchronization around background resets.

This change:
- adds an explicit termination channel to signal pool shutdown
- tracks forced-reset intent and a waiter channel inside the reset loop
- ensures reset waiters are notified on completion or on pool termination
- allows an explicit sync request path to trigger an additional reset round when needed

Scope is limited to internal txpool concurrency control in core/txpool/txpool.go, with no protocol or RPC behavior change.

* fix(core/txpool): avoid blocking reset completion on close #31030
2026-03-17 12:02:17 +05:30
..
legacypool fix(core): use sync.Once for SenderCacher initialization #31029 (#2173) 2026-03-17 12:01:41 +05:30
errors.go fix(core/txpool/legacypool): prevent uint256 overflow panic in executable tx filtering, fix #2134 (#2168) 2026-03-17 11:18:22 +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 fix(core/txpool): avoid blocking reset completion on close #31030 (#2175) 2026-03-17 12:02:17 +05:30
validation.go feat(core/txpool): improve error responses #30715 (#2170) 2026-03-17 11:18:01 +05:30