go-ethereum/miner
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
..
agent.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
miner.go feat(eth,miner): wire miner gas tip updates from RPC #28933 (#2136) 2026-03-11 07:26:47 +05:30
ordering.go perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159) 2026-03-11 08:50:56 +05:30
ordering_test.go perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159) 2026-03-11 08:50:56 +05:30
remote_agent.go all: remove ethash pow 27178 (#1378) 2025-08-26 11:54:01 +08:00
unconfirmed.go all: remove duplicate word in comments (#1570) 2025-09-24 07:57:33 +08:00
unconfirmed_test.go metrics: fix some typos (#25551) 2024-12-13 14:00:12 +08:00
worker.go perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159) 2026-03-11 08:50:56 +05:30
worker_test.go perf(core/txpool,miner): speed up pending transaction ordering with uint256 #29008 (#2159) 2026-03-11 08:50:56 +05:30