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 摘要。