-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add stratum style mining protocol #352
Comments
@redongjun will work on this issue. |
@kseo I have written a protocol spec as below. could you review it? mining.subscribeUsed for subscribing mining jobs. Params: No parameters Request Example
Response Example
mining.authorizeUsed for authorizing miner. Params:
Return Type: bool Request Example
Response Example
mining.notifyUsed for sending notifications with mining jobs Params: Notification Example
mining.submitUsed for submitting a proof-of-work solution. Params:
Return Type: bool Request Example
Response Example
Exception HandlingStratum defines simple exception handling. Example of rejected share looks like:
Where the error field is defined as (error_code, human_readable_message, traceback). Traceback may contain additional information for debugging errors.
|
@redongjun Thanks for the suggestion. Let's discuss the spec tomorrow at the developers meeting. |
After the developers meeting, I have read another stratum article and existing stratum codes in codechain. the proposal spec was a mistake due to a lack of understanding about mining pool and reward. so the specification has been slightly modified as above. In summary: I have prototyped as spec as above. #444 |
No description provided.
The text was updated successfully, but these errors were encountered: