Hello, friends. I'm writing from Russia, translating the text through an interpreter.
I want to receive json data on the tcp / ip protocol.
The API says:
pass the json line {"id": 0, "jsonrpc": "2.0", "method": "miner_getstat1"}
the answer comes to me:
{"id": 0, "jsonrpc": "2.0", "result": false, "error": "Miner not registered"}
How to find out the miner's id?