CodeChain-io / CodeChain-io/codechain
RPC:SendSignedTransaction can be optimized
未关闭
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 还没有评估数据。