RPC:SendSignedTransaction can be optimized
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- rust
- 領域
- blockchain
研究方向
追蹤 RPC SendSignedTransaction 入口點和 add_transactions_to_pool 路徑,重點關注 untrustedRlp 如何變成 SignedTransaction,接著又變成 UnVerifiedTransaction。首先確認公開金鑰復原和簽章驗證發生在哪裡,然後比較這些路徑,並新增或執行相關的 transaction-pool 或 RPC 測試。完成的標準是避免重複驗證,同時維持交易接受邏輯正確。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Rust
- 星號
- 256
- 分支
- 50
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeChain-io/codechain 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
CodeChain-io/codechain#2002 ·
-
難度 4/5 3-5 天 新手友好度 35/100
CodeChain-io/codechain#1993 · 2 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
CodeChain-io/codechain#1987 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
CodeChain-io/codechain#1971 ·
-
performance rpc
難度 4/5 3-5 天 新手友好度 25/100
CodeChain-io/codechain#1970 ·
查看 CodeChain-io/codechain 的全部 Issue
相似的 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 78/100
zcashlabs/thus-spoke-zakura#153 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 79/100
topgrade-rs/topgrade#2395 ·
維護者通常 1 天內回覆
-
app bug windows-os
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
editor good first issue
難度 2/5 1-3 小時 新手友好度 65/100
funnyboy-roks/inq#54 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆