-
Notifications
You must be signed in to change notification settings - Fork 70
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
UFAsoft miner share submissions failing #16
Comments
I've gotten a bit farther tracking down the problem but I still haven't fully understood why, When work is submitted it errors out with "Work not found in proxy database." and I also checked the database for the result and it really doesn't exist, but there are entries in the database for the miner ... it just doesn't include the data its sending. Here's an output from the json_error function:
|
Haha, sorry guys, still trying to get the hang of git. Basically, what causes this failing is that the return data from Ufasoft miner comes back as all uppercase in the hash string. The hash is stored in the database with a ascii_bin collation which makes it case sensitive. This is my work around which allows the shares to get submitted and shown up correctly on the dashboard. |
…queries (fixes issue #16) Investigation and partial patch by wyze <[email protected]>.
Thanks for the patch, wyze. To be a bit more complete with the fix, I'm converting to lowercase when the data is initially inserted as well. This would only be a problem if the pool/bitcoind returned the data uppercase, but you never know... it's good to cover all your bases. (It's the old "be strict with your output and liberal with your input" bit of wisdom.) |
yeay! I will convert and test today. The only concern that would exist is if at the pool, if they expect a certain case. But probably not, since they all seem to use the same exact pool software. heh. Thanks guys. |
The pools themselves should accept upper or lowercase. If they don't, then your miner wouldn't work directly against the pool anyway! And in that case we could always patch the proxy to convert the data string to lower-case before sending it to the pool. |
It would seem that the ufasoft miner is failing to communicate with the proxy correctly. It receives work from the proxy, but when it submits completed work, it never is actually processed, or passed through to the pool by the proxy. I have tried monitoring packets to see what is different about how ufa communicated vs puddinpop rpc, but apparently this is above my pay grade to figure out and contribute a solution.
The text was updated successfully, but these errors were encountered: