go-ethereum/core/txpool/legacypool
Bui Quang Minh 4d0b8aa70c core/txpool, eth: add GetRLP to transaction pool
Currently, when answering GetPooledTransaction request, txpool.Get() is used.
When the requested hash is blob transaction, blobpool.Get() is called. This
function loads the RLP-encoded transaction from limbo then decodes and returns.
Later, in answerGetPooledTransactions, we need to RLP encode again. This decode
then encode is wasteful. This commit adds GetRLP to transaction pool interface
so that answerGetPooledTransactions can use the RLP-encoded from limbo
directly.
2025-03-04 16:01:50 +07:00
..
legacypool.go core/txpool, eth: add GetRLP to transaction pool 2025-03-04 16:01:50 +07:00
legacypool2_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
legacypool_test.go core/txpool: fix error logs flood caused by removeAuthorities (#31249) 2025-02-27 17:08:33 +08:00
list.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
list_test.go core/txpool/legacypool: remove a redundant heap.Init (#28910) 2024-02-15 19:50:17 +01:00
noncer.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00