CodeChain-io / CodeChain-io/codechain

RPC:SendSignedTransaction can be optimized

Đang mở
#1,973 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
performance rpc
Ngôn ngữ chính
Rust
Star
256
Fork
50
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.