go-ethereum/core/txpool
Daniel Liu 3817df2f0d core/txpool/legacypool: fix replacement totalcost overflow ordering
list.Add previously added the new transaction cost to totalcost before subtracting the replaced transaction cost.

That ordering can reject valid replacements when the intermediate sum overflows uint256, even though the post-replacement total would be in range.

Compute totals from a post-replacement base (subtract old cost first, then AddOverflow the new cost) and add a regression test covering this edge case.
2026-03-11 02:06:27 +08:00
..
blobpool core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
legacypool core/txpool/legacypool: fix replacement totalcost overflow ordering 2026-03-11 02:06:27 +08:00
locals core/txpool: Initialize journal writer for tx tracker (#32921) 2025-10-21 15:41:38 +08:00
errors.go core/txpool: drop peers on invalid KZG proofs 2026-01-13 17:12:08 +01:00
reserver.go core/txpool: allow tx and authority regardless of admission order (#31373) 2025-04-09 19:11:24 -06:00
subpool.go eth/fetcher: add metadata validation in tx announcement (#33378) 2025-12-11 12:11:52 +08:00
txpool.go eth/fetcher: add metadata validation in tx announcement (#33378) 2025-12-11 12:11:52 +08:00
validation.go core/txpool: drop peers on invalid KZG proofs 2026-01-13 17:12:08 +01:00
validation_test.go core/txpool: add eip2681 check for incoming transactions (#32726) 2025-09-25 13:15:12 +02:00