to doctor83
Hi, pls add "worker-id" param to srbminer (otherwise statistics on a webchain pool is incorrectly displayed )
also problem with pool
{"id":1,"jsonrpc":"2.0","method":"login","worker":"Rig-9","params":{"login":"
0xbe3b3d8317c71ff4d35060a984e36b7107b3103c","pass":"x","agent":"XMRig/2.7.3-beta (Windows NT 10.0; Win64; x64) libuv/1.23.0 msvc/2017"}}.
{"id":1,"jsonrpc": "2.0","method":"login","params":{"login":"
0xbe3b3d8317c71ff4d35060a984e36b7107b3103c","pass":"x","agent":"SRBMiner Cryptonight AMD GPU miner/1.7.4","rigid":"id=Rig-9"}}
I don't understand what you are trying to say here
valid login
{"id":1,"jsonrpc":"2.0","method":"login","worker":"Rig-9","params":{"login":"
0xbe3b3d8317c71ff4d35060a984e36b7107b3103c","pass":"x","agent":"XMRig/2.7.3-beta (Windows NT 10.0; Win64; x64) libuv/1.23.0 msvc/2017"}}.
srbminer login
{"id":1,"jsonrpc": "2.0","method":"login","params":{"login":"
0xbe3b1d8317c71ff4d35060a984e36b7102b3103c","pass":"x","agent":"SRBMiner Cryptonight AMD GPU miner/1.7.4","rigid":"id=Rig-9"}}
need help to modify my pool
pool code:
import "encoding/json"
type JSONRpcReq struct {
Id json.RawMessage `json:"id"`
Method string `json:"method"`
Params json.RawMessage `json:"params"`
}
type StratumReq struct {
JSONRpcReq
Worker string `json:"worker"`
}
No need to modify pool, i can modify the json.