[BUG] Pool can run out of available balance because of low pool fee
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- blockchain
调研方向
首先定位池手续费被硬编码的位置,以及交易手续费、矿工奖励和区块奖励的计算位置。明确预期的手续费和支付公式,然后验证当交易成本超过池手续费或有许多矿工参与时,支付是否仍有充足的资金支持。
由索引模型根据 Issue 内容生成。
描述
Having the pool fee hardcoded presents an issue where if lots of miners are participating the pool can run out of funds.
If the total transaction fees + miner rewards > block reward (this would be extreme and probably a flood case) or total transaction fees > pool fee.
Instead the fee should be a multi part calculation.
The pool takes a flat fee (or percentage of reward) and then the total cost for transaction fees is calculated by the number of transactions required, then the remaining balance is what is divided up into the transaction amounts. Well or something along those lines anyway...
- 主要语言
- Python
- 星标
- 429
- 派生
- 189
- 平均合并
- 54 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Chia-Network/pool-reference 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 48/100
Chia-Network/pool-reference#349 ·
-
难度 4/5 3-5 天 新手友好度 35/100
Chia-Network/pool-reference#296 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 15/100
Chia-Network/pool-reference#292 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
Chia-Network/pool-reference#290 ·
-
mysql error未关闭
难度 3/5 1-2 天 新手友好度 45/100
Chia-Network/pool-reference#288 ·
查看 Chia-Network/pool-reference 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 85/100
WLAN-Pi/wlanpi-profiler#341 ·
维护者通常 1 天内回复
-
Memory leak: the shared `validation_aborted_error` keeps every traceback it is raised through可能已有人在做 @Fire162 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
graphql-python/graphql-core#287 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
roman-corgi/ctc-dip#160 ·
维护者通常 1 天内回复
-
type-bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
render_findings.py reads and writes in the host's default encoding, so findings.html breaks on a cp1252 Windows host可能已有人在做 @Aaqibhafeezkhan 今天认领。 未关闭bug good first issue mentored python size: XS up-for-grabs
难度 2/5 1-3 小时 新手友好度 75/100
dheerajjha/mcp-migrate#366 · 1 条评论 ·
维护者通常 1 天内回复