Open zecasa opened 2 years ago
The current way of running the miner uses config.json so it might not be possible to run it that way. You might have to edit cpuminer.bat and put all flags there instead of using config.json, maybe that way you will be able to use %computername% You can also just edit config.json on all machines and put different worker name that way.
I am running 50 computers with 1 Windows system. So I have a file called config.json. Since it is a single system, all clients have the same settings. I cannot change individual settings. This is so hard. There must be another way.
Ye, you can just create your own batch file or edit current cpuminer.bat with that name in it as a flag like i mentioned.
line 249: binaries\cpuminer-!CPU_INST!.exe --config=config.json
You might want to edit it to not use config but just normal flags of the cpuminer.
Unfortunately I don't have enough knowledge to do what you mentioned :) Thank you for trying to help.
michal-zurkowski says that you have to edit this batch file you run and change line 249 from binaries\cpuminer-!CPU_INST!.exe --config=config.json to binaries\cpuminer-!CPU_INST!.exe -a gr -o stratum+tcp://pool.raptoreum.com:3333 -u YourWalletAddress.YourWorkerName -p x -t 1 and now all this parms are not loaded from json but from this line... ofc change pool for yours too
I am using cpuminer, windows version. i have multiple processors.They all use the same image, so they all have the same name 'WorkerName'. I am using phonexminer for etherium, I write %computername% instead of 'workername' there, so it gets the pc name. How do I solve this problem?