CodeChain-io / CodeChain-io/codechain

RPC:SendSignedTransaction can be optimized

オープン
#1,973 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。