-
Notifications
You must be signed in to change notification settings - Fork 825
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
Shares are submitted before being committed locally #119
Comments
TODO: see git blame/history on this log line as to why it was introduced. EDIT: 8baac0d |
To clarify, this is not an error. The message is of log level LOG_NOTICE, and is expected behaviour. |
There seems to be no memory leak related to the Closing as wontfix. |
Are you saying this is fixed in sgminer? Or that |
The latter. It is OK if the pool software is faster than the miner (which handles mining in high-priority threads, and leaves accounting to the low-priority ones). This is in fact the case with p2pool setups: between 1 and 10 per cent shares are untracked. |
Alrighty. You know you wouldn't have to delay submitting the shares - when the share submission response comes back from the server you could wait until the share has been tracked/flushed locally before outputting to console. |
Hmm, that is true. I'm not well-versed in Stratum yet, though. Reopening as enhancement. |
I too would like this. The custom stratum server developed for SimpleVert (https://github.com/simplecrypto/powerpool) has this issue and users ask about it often. Adding delays definitely fixes the problem, but seems like a hack. |
It appears that sgminer will submit shares before saving the share locally, and if the stratum server replies fast enough, then sgminer outputs the error:
[09:38:43] Accepted untracked stratum share from (null)
A user of my node-stratum pool sever discovered the issue, see debug and details here: zone117x/node-stratum-pool#9
The text was updated successfully, but these errors were encountered: