go-ethereum/core/txpool/legacypool
Daniel Liu 8850835f6b
perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159)
Switch LazyTransaction gas caps from *big.Int to *uint256.Int and convert once at pending retrieval time.

In miner ordering, keep fee comparisons on uint256 and precompute TRC21 gas price in uint256 form to avoid repeated big-int conversions in heap comparisons.

Also update affected tests and call sites in legacypool/worker/helper paths.

Compatibility: LazyTransaction exported field types changed (GasFeeCap/GasTipCap).
2026-03-11 08:50:56 +05:30
..
journal.go all: move main transaction pool into a subpool #27463 (#1890) 2026-01-05 15:43:50 +05:30
legacypool.go perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159) 2026-03-11 08:50:56 +05:30
legacypool2_test.go refactor(core/txpool/legacypool): use uint256.Int instead of big.Int #28606 (#2134) 2026-03-10 18:50:40 +05:30
legacypool_test.go perf(core/txpool): pre-filter dynamic fees during pending tx retrieval #29005 (#2137) 2026-03-11 08:42:09 +05:30
lending_pool.go refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
lending_pool_test.go refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
lending_tx_journal.go all: move main transaction pool into a subpool #27463 (#1890) 2026-01-05 15:43:50 +05:30
lending_tx_list.go docs(core/txpool/legacypool): fix typos #28258 (#2126) 2026-03-10 18:45:06 +05:30
list.go refactor(core/txpool/legacypool): use uint256.Int instead of big.Int #28606 (#2134) 2026-03-10 18:50:40 +05:30
list_test.go refactor(core/txpool/legacypool): use uint256.Int instead of big.Int #28606 (#2134) 2026-03-10 18:50:40 +05:30
noncer.go all: move main transaction pool into a subpool #27463 (#1890) 2026-01-05 15:43:50 +05:30
order_pool.go refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
order_tx_journal.go all: move main transaction pool into a subpool #27463 (#1890) 2026-01-05 15:43:50 +05:30
order_tx_list.go docs(core/txpool/legacypool): fix typos #28258 (#2126) 2026-03-10 18:45:06 +05:30