Prevent users from staking on machines that cannot calculate proofs in time
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 1.5k
- Forks
- 390
- Merge medio
- 2 d 23 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ethersphere/bee
-
Chequebook deployment uses a fixed 175,000 gas limit; it needs about 630,000 under Glamsterdam (live on Sepolia since 2026-10-06)Posiblemente ocupada @sbackend123 la tomó hace 17 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ethersphere/bee#5650 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
ethersphere/bee#5666 ·
Los mantenedores suelen responder en 2 días
-
Add a transaction inbox for outbound chain transactionsPosiblemente ocupada @sbackend123 la tomó hace 11 días. Abiertoseen
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ethersphere/bee#5660 · 1 asignado ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
ethersphere/bee#5659 · 6 comentarios ·
Los mantenedores suelen responder en 2 días
-
accepted seen
Dificultad 4/5 3-5 días Aptitud para principiantes 40/100
ethersphere/bee#5648 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de ethersphere/bee
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
github/github-mcp-server#3581 ·
Los mantenedores suelen responder en 2 días
-
agent-review-finding chore
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
jordansmall/spindrift#6033 ·
Los mantenedores suelen responder en 1 día
-
Replace UUID implementationAbiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hyperledger/fabric-x-common#230 ·
Los mantenedores suelen responder en 1 día
-
About.md no longer usedAbiertobug
Dificultad 2/5 Medio día Aptitud para principiantes 65/100
open-wanderer/wanderer#1443 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día