go-ethereum/eth/protocols
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
..
eth core/txpool, eth: add GetRLP to transaction pool 2025-03-04 16:01:50 +07:00
snap metrics, cmd/geth: change init-process of metrics (#30814) 2024-12-10 13:27:29 +01:00