Skip to content

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

@jla415

Description

@jla415

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions