-
Notifications
You must be signed in to change notification settings - Fork 139
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
TProxy responding to mining.submit with result:true for low difficulty shares. #1006
Comments
thanks for reporting this @darricksee ideally we should be able to reproduce this issue deterministically
would you be willing to share this? |
@plebhash didn't you just added a MG test fixing this issue recently? |
@darricksee always related to this point, I was wondering what's the best approach with regards to Right now Translator refuses shares related to an old But is this approach correct? Shouldn't we refuse shares only when they are based on an old |
@GitGab19 - yeah that's correct. Miners are strongly encouraged to work on the latest jobs as these have the most favorable transactions. Ideally jobs have a long timeout so it shouldn't ever happen. |
I created a little test with a simulator which produces low difficulty shares pointing at the tproxy -> pool -> TP. The tproxy handles the shares properly but responds with:
2024-06-26T17:22:16.565280Z DEBUG translator_sv2::lib::downstream_sv1::downstream: Sending to Mining Device: 3.141.43.42:47752 - "{\"id\":4,\"error\":null,\"result\":true}\n"
erroneously. It should respond with a "low difficulty" error.
Full logs:
The text was updated successfully, but these errors were encountered: