Skip to content
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

Enhancement: stratum.Client should support client.* calls to client from server #18

Open
jla415 opened this issue Dec 16, 2017 · 1 comment

Comments

@jla415
Copy link

jla415 commented Dec 16, 2017

example from server to stratum.Client:

{"id": 1289739, "method": "client.get_version", "params": null}.

Currently the library just throws an exception here:

throw new Error("No suitable command was issued from the server");

see:
https://en.bitcoin.it/wiki/Stratum_mining_protocol#Methods_.28server_to_client.29

Would be nice to be able to handle and respond to various client.* requests from the server...

@jla415 jla415 changed the title Enhancement: stratum.Client should support client.* calls to client Enhancement: stratum.Client should support client.* calls to client from server Dec 16, 2017
@pocesar
Copy link
Owner

pocesar commented Dec 16, 2017

yes, I'm going to cover the new protocol changes, the initial version was using slushpool's in 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants