WyvernTKC / cpuminer-gr-avx2

Optimised Version of GR miner for RTM
GNU General Public License v2.0
375 stars 195 forks source link

multiple cpu, workername #144

Open zecasa opened 2 years ago

zecasa commented 2 years ago

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?

michal-zurkowski commented 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.

zecasa commented 2 years ago

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. miner

michal-zurkowski commented 2 years ago

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.

zecasa commented 2 years ago

Unfortunately I don't have enough knowledge to do what you mentioned :) Thank you for trying to help.

adekkpl commented 2 years ago

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