1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/eth/protocols
minh-bq 930836ed66
core/txpool, eth: add GetRLP to transaction pool (#31307)
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.

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-03-19 14:20:50 +08:00
..
eth core/txpool, eth: add GetRLP to transaction pool (#31307) 2025-03-19 14:20:50 +08:00
snap metrics, cmd/geth: change init-process of metrics (#30814) 2024-12-10 13:27:29 +01:00