I'm using 5.1 beta 2. I don't use a bat file. I use the config files. What you see above is really all you should need. But here goes
config.txt
-wd 1
-r 0
-allpools 1
-estale 1
-ftime 5
-mport 3333
-tstop -100
-mode 0
-dcoin sc
-etha 0
-ethi 16
-dcri 40
epools.txt
POOL: us-east.ethash-hub.miningpoolhub.com:12020, WALLET: Login.Worker, PSW: 1234, WORKER: Login.Worker, ESM: 2, ALLPOOLS: 1
POOL: us-east1.ethereum.miningpoolhub.com:20535, WALLET: Login.Worker, PSW: 1234, WORKER: Login.Worker, ESM: 2, ALLPOOLS: 1
dpools.txt
POOL:
http://siamining.com:9980/miner/header?address=YourAddress&worker=WorkerYou might have to set up your workers first here
https://miningpoolhub.com/?page=account&action=hubworkers but I can't remember. You don't have to set them up on each coin's page. You won't need all the parameters I use and I'm not sure why I have allpools in there twice but whatever.
what is -etha ? also can you tell me why if I put -r 1 in config, it randomly changes value, like 10minutes ago it was -r 1d, now its -r 19. I want it to work as written in readme
"-r 1" closes miner and execute "reboot.bat" file ("reboot.bash" or "reboot.sh" for Linux version) in the miner directory (if exists) if some GPU failed.
So you can create "reboot.bat" file and perform some actions, for example, reboot system if you put this line there: "shutdown /r /t 5 /f".
but it keeps changing, also doesn't do anything if failover pools fail. Can you make the miner execute reboot.bat when either gpu fails or all pools fail ?
I'm not sure if you're asking me but -etha 0 is optimized for fast cards and 1 is for slow cards. I don't know what it does technically. As far as -r 1 in the config, where does it randomly change? Are you saying you save your config, start the miner, and then open your config back up and it's different? Or does it change in some other place. Also, just curious, why do you want to reboot your computer if all the pools fail? Pools will most likely still be down right and the miner automatically reconnects every 30 minutes to the main pool or something different if you specify ftime?
The -r 1 changed randomly only in the remote manager, so thats just a bug in it but -r 1 is supposed to launch reboot.bat when the miner isn't hashing. I wanted -r 1 because while dual mining sia, I got this error
13:48:49:091 1360 SC: http error #28.
13:48:49:091 1360 SC: Failed to connect to pool (sia-eu1.nanopool.org:9980), retry in 10 sec...
and then after alot of tries this
SIA: incorrect job data size
SIAD invalid http response, wrong number of bytes received: 36
Response: {"message":"404 - Refer to API.md"}
I thought the -r 1 would restart the pc if sia mining hangs but nothing happend, a few failovers but the incorrect job data size error didn't stop till I restarted the miner. Maybe its just something with http, I switched to the new version which has stratum on sia, no errors yet.
As I understand from the readme, -r 1 means launch reboot.bat at gpu fail and -r >20 means restart after >20minute of miner hang.