can you share sample code for batch file to run excavator miner? I can try out and give you feedback!
Thanks for doing this, go to the default_command_file.json and replace it with the code below.
Don't forget to change the pool address, port, wallet and worker name (i renamed them in the file so you would spot them easily).
[
{"time":0,"commands":[
{"id":1,"method":"algorithm.add","params":["lbry","poolAddress:poolPort","wallet.workerName"]}
]},
{"time":3,"commands":[
{"id":1,"method":"worker.add","params":["0","0"]}
]},
{"time":10,"loop":10,"commands":[
{"id":1,"method":"worker.print.speed","params":["0"]},
{"id":1,"method":"algorithm.print.speeds","params":["0"]}
]}
]
Now, for this test i am expecting that the pool that you are using is able to count the rejected shares (because the Excavator console won't show a counter).
If it doesn't, after few hours of running, you can do this, go to your web browser, and paste this into your URL bar:
http://127.0.0.1:38080/api?command={%22id%22:1,%22method%22:%22algorithm.list%22,%22params%22:[]}
It will output an json string that will contain share info (among other information)
{"total_shares":1,"total_accepted":1,"total_rejected":0,"last_efficiency":1.0}