Prevent users from staking on machines that cannot calculate proofs in time
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the staking endpoint and the rchash calculation result, including how its duration is stored and returned. Then determine how an override could fit the staking call and how to report an informative failure. Done means staking checks the calculation timing, users can explicitly override the check, and rchash results explain whether the timing meets the lottery requirement.
索引モデルが issue の本文から書いたものです。
説明
Summary
Some machines are too slow to calculate proofs required for storage incentive lottery, in time. In that case, although they are properly staking and might have all the data, they are failing to participate fruitfully in the lottery.
There is a way to check the performance of the machines, as described in docs with rchash. But user's might not know they can/should do that. Either they miss it in the docs, or they are using some other method of installation (e.g. DAppNode).
The proposed new feature would be to required the users to run at least one rchash calculation on a fully synced node as a prerequisite, before being allowed to stake. Which could be overridden by the users, allowing them to stake even if thi prerequisite is not met.
Motivation
A user might run a full staking Bee node, investing time and resources (stake, electricity, hardware, time) and not winning anything, while not even knowing why - that their resources might be insufficient (CPU speed, storage speed).
Implementation
A full Bee node already knows what the result of last rchash calculation was - how long it took to calculate:
The same, or another field, could be used to store the duration of a rchash calculation. Whichever field is used, its value should be retrieved when a staking call is executed, and if the duration is too long, the staking should fail with an informative message, that the machine would probably not be able to play the lottery. If there is no information in the field, the staking should fail, with an informative message, instructing the user to run rchash.
The user can call the staking endpoint with a special argument, overriding the above mentioned check of rchash duration.
Also, when running rchash call, the returned information should also include a user friendly field, explicitly stating that the calculation was done in required time needed to play in the lottery (perhaps this specific field could be referenced by the logic allowing staking).
Drawbacks
It could affect the onboarding UX negatively, esp. if done improperly - if stopping the user in the onboarding process without proper explanation.
- 主要言語
- Go
- スター
- 1.5k
- フォーク
- 390
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ethersphere/bee のほかの issue
-
Chequebook deployment uses a fixed 175,000 gas limit; it needs about 630,000 under Glamsterdam (live on Sepolia since 2026-10-06)対応中かも @sbackend123 が 27 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ethersphere/bee#5650 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
ethersphere/bee#5682 ·
メンテナーはふだん 3 日以内に返信
-
ENSv2 is not supported, `resolve failed`対応中かも @akrem-chabchoub が 6 日前に担当しました。 オープン
ethersphere/bee#5680 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ethersphere/bee#5678 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ethersphere/bee#5666 ·
メンテナーはふだん 3 日以内に返信
ethersphere/bee の issue をすべて見る
似ている issue
-
Wayfinder sample agents don't reach the Data Plane on the quickstart pack対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンType/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
thunder-id/thunderid#6402 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TUM-Dev/Campus-Backend#678 ·
メンテナーはふだん 1 日以内に返信
-
fix(app): fail closed if GetGeneralSetting fails during initialization対応中かも @kalavt が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
agent-ready area:dsl
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
jmbarzee/temporal-architect#407 ·
メンテナーはふだん 1 日以内に返信