We made some changes to the API in 1.5.x versions.
Replace worker.add with:
{"id":1,"method":"worker.add","params":["lyra2z","0"]}
From now on algorithm has to be assigned by name, not id.
Thanks!
If I want to try mining with excavator on non-nicehash pool how I can write config now?
like this:
[
{"time":0,"commands":[
{"id":1,"method":"algorithm.add","params":["lyra2z","benchmark"]},
{"id":1,"method":"subscribe","params":["lyra2z-pool:9999", "some_wallet.worker:x"]}
]
},
{"time":3,"commands":[
{"id":1,"method":"worker.add","params":["lyra2z","0"]}
]
},
{"time":10,"loop":10,"commands":[
{"id":1,"method":"worker.print.speed","params":["0"]},
{"id":1,"method":"algorithm.print.speeds","params":[]}
]
}
]
or it's work only for nicehash?