-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid-job-id
errors on tProxy
don't result in rejection of shares
#791
Comments
yep if I remember correctly the translator do not bother to send a response downstream for share error. I guess that this is mainly cause is supposed to be a proxy used by miners, so it is where metrics are collected and you use it as observable point. Said that returning errors for invalid shares would be a very nice thing to add. Also I don't know if the downstream need that message for stop sending shares and start working on the new job (don't think so but maybe is the case) |
Translator should be able to communicate to the miners the refused share whenever it's refused from upstream or it's not valid. What translator should do is to send downstream the following string: {"id": job_id, "result": @plebhash we can reinsert the label good-first-issue imo, what do you think? |
Cool, I'm putting the We believe this is a good first issue because the fix is a relatively simple change, so it should provide some smooth intro for new contributors. But it still requires that newcomers get familiar with SRI basics. A good preparation is to simply follow the A BitAxe is not a strict requirement for this issue, although it could be useful since the AxeOS UI provides a counter on accepted vs rejected shares, which was how I first identified this issue. But the
here, |
I will give it a try. I'm going to start with working through the SRI tutorial and try to figure out how to hook up my BitAxe. This hopefully will allow me to reproduce the issue. |
I think I'm a bit stuck in terms of finding a way how to actually change handle_submit_shares() in turn only emits the Any suggestions how to proceed without reworking error propagation itself 🤔 |
share verification is not did at transloator::downstream level but at bridge level that is the one that have both sv2 and sv1 information (when you get a share if the share is above target you have to send it upstream). Downstream and bridge have differenet execution contexts. I guess that best thing to do, is to not send anything downs on share arrive as a transaltor::downstream, but send share responses from bridge to translator:
I think that you want to add a future to this select where you receive share responses |
I want to give this a shot. |
Please 👍 I got completely buried by other stuff 🙈 |
@0xSaksham are you working on this? |
Hey, I'll need time. Please assign this to anyone else. |
@lorbax so when I suggested our informal MG workshop call, I think we could try to reproduce this issue as a guiding exercise |
sure DM me on discord |
This reverts commit bdd804e.
This reverts commit bdd804e.
Anyone working on this? |
correct @rockcoolsaint we welcome reviews on #910 |
Alright |
closed via #910 |
I was trying a BitAxe Ultra (BM1366) and I noticed multiple errors like this:
It also happens with
CPUminer
.It was reported here: #788
as stated by @Fi3:
That explains the root cause of the error. Let's call these shares "delayed shares".
However, delayed shares are still accounted as "accepted" on the BitAxe side.
That is likely because the delayed shares only trigger an error event, but never really trigger some share rejection.
The text was updated successfully, but these errors were encountered: