CodeChain-io / CodeChain-io/codechain

RPC:SendSignedTransaction can be optimized

未關閉
#1,973 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
performance rpc
主要語言
Rust
星號
256
分支
50
PR 合併指標
30 天內沒有已合併 PR

描述

When the RPC `SendSignedTransaction` is called, the client tries to construct `SignedTransaction` from an `untrustedRlp`. It carries out a computationally heavy job (e.g. public key recovery). However, `add_transactions_to_pool` accepts only `UnVerifiedTransaction`, `SignedTransaction` is converted to the untrusted one again. so the signature verification step should be repeated again.
We can reduce the repeated verification steps.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。