Introduce a minimum fee per byte
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- rust
- 領域
- blockchain
研究方向
未指定任何檔案、測試或進入點。首先追蹤交易費用驗證,以及拒絕、傳播或挖掘交易的節點路徑,然後確定交易大小以及 CPU 和磁碟成本如何在共識驗證和節點策略中共同決定最低費用。
由索引模型根據 Issue 內容生成。
描述
CodeChain invalidates transactions whose fee is less than the minimum fee. The fee is charged for the network usage. We should set the minimum fee according to the transaction's CPU cost and Disk cost.
CodeChain requires a fixed fee for a Transfer transaction. A transfer transaction has multiple inputs and outputs. The transaction issuer should pay more fees if the size of the transaction is bigger.
I have one concern. There are two ways to apply the minimum fee: one is the consensus' minimum fee. CodeChain nodes will drop the transactions that have less than the consensus' minimum fee. The other one is each node's minimum fee. Each node can reject to propagate or to mine transactions that have small fees.
IMO, we should implement fee-per-byte minimum fees in both places.
- 主要語言
- Rust
- 星號
- 36
- 分支
- 11
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeChain-io/foundry 的其他 Issue
-
Remove informer未關閉
難度 3/5 1-2 天 新手友好度 30/100
CodeChain-io/foundry#607 ·
-
難度 5/5 一週以上 新手友好度 30/100
CodeChain-io/foundry#606 ·
-
Change the return type of execute_transactions to signify it always succeeds可能重新可做 @dynaxis 於 2138 天前認領,目前沒有進行中的 PR。 未關閉
CodeChain-io/foundry#605 · 1 個 reaction · 已指派 1 人 ·
-
難度 5/5 一週以上 新手友好度 25/100
CodeChain-io/foundry#604 ·
-
難度 4/5 3-5 天 新手友好度 35/100
CodeChain-io/foundry#603 ·
查看 CodeChain-io/foundry 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 69/100
維護者通常 1 天內回覆
-
A match arm above the largest i64 is compared as 0可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 83/100
DioxusLabs/dioxus#6063 ·
維護者通常 1 天內回覆
-
`nsh-core` fails to compile when taffy's default `calc` feature is enabled elsewhere in the graph未關閉
難度 2/5 1-3 小時 新手友好度 76/100
longbridge/nsh#966 ·
維護者通常 1 天內回覆
-
Windows docs: pin a tested ConPTY version for Kitty graphics; 1.25.260930003 corrupts large uploads未關閉
難度 1/5 1-3 小時 新手友好度 88/100
raphamorim/rio#2021 ·
維護者通常 1 天內回覆