Skip to content

incorrect method eth_submitLogin params format in json message #5

@Canefis

Description

@Canefis

Please implement 2 types of eth connections: eth proxy and stratum.

Have faced with incorrect format while trying to connect miner "jasminer" by geth protocol to the proxy.
Instead of pass in request (another proxy program do it correctly and everything are working:
{"id":1, "jsonrpc":2.0","method":"eth_submitLogin","params" ["Wallet.worker", "x"], "worker":"Wallet.workername"}
{"id":0,"jsonrpc:"2.0","method":"eth_getwork","params":[],"worker":"Wallet.workername"}

the proxy just do this and of course final destination says incorrect workername check your settings:
{"id":0, "worker":"workername","method":"eth_submitLogin","params" ["Wallet]}
{"jsonrpc":"2.0","result":false,"error":"Client Pre-authorization was not accepted (incorrect workername, check your settings).","id":0}
Client CL+xxxxxxxxxxxxxxxxxxxx disconnected

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