This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 583
Stratum spec violation #3
Comments
We added mining.extranonce.subscribe as an extension for compatibility with our service. Without this extension miner would still work but would get disconnected every time it is swapped to another order. We created this extension for original bitcoin stratum protocol long time ago and have been using it for 2 years. Most of miner software including ASIC supports it. With extension miners do not get disconnect thus perform better. Since this is a miner for NiceHash, I am not fully sure where exactly is the problem? |
FYI there is uint256 space for nonce I wonder after how many years of mining without disconnects miner will be swapped to another order. |
Closed
Open
miketout
referenced
this issue
in miketout/nheqminer
Aug 19, 2018
Final touches for working VerusHash CPU miner
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What is an idea behind adding
mining.extranonce.subscribe
?https://github.com/str4d/zips/blob/77-zip-stratum/drafts/str4d-stratum/draft1.rst
There is big work done on specification.
Protocol Flow
Client sends mining.subscribe to set up the session.
Server replies with the session information.
Client sends mining.authorize for their worker(s).
Server replies with the result of authorization.
Server sends mining.set_target.
Server sends mining.notify with a new job.
Client mines on that job.
Client sends mining.submit for each solution found.
Server replies with whether the solution was accepted.
Server sends mining.notify again when there is a new job.
The text was updated successfully, but these errors were encountered: