It's a pretty easy setup and switches seamlessly on MPH between Equihash coins on there.
Now I would like to try my hand at using the SALFTER_MPH_PROFIT_SWITCHING setup.
I went through the small changes in 1bash which were basically to set "COIN=SALFTER_MPH_PROFIT_SWITCHING, plus this section:
########################################################
# #
# SALFTER_NICEHASH_PROFIT_SWITCHING & #
# SALFTER_MPH_PROFIT_SWITCHING Settings #
# #
########################################################
CURRENCY=USD
POWER_COST=0.12
MINIMUM_PROFIT=0.1
MPH_USERNAME=xxxxxxxx
PAYMENT_ADDRESS="$BTC_ADDRESS"
WORKER_NAME="$WORKERNAME"
PROFIT_CHECK_TIMEOUT=600
I wasn't sure where to exactly put the port for MPH multi-algo mining so I added it to the MPH_EQUIHASH settings instead of the port I was using for just multi-Equihash coin mining.
I have looked and the /home/m1/mph_config.json file has been created and has my "settings" from 1bash in there but the miners lines all look like default values.
When I start up the miner I see the usual GPU set up lines for power, temp and clocks and a miner is starting message.
My CPU mining starts up in the GUAKE terminal and I see a SALFTER...... tab there as well.
I see a large printout of the profit margins for several coins.
Then a error message and the terminal issues all the GPU stuff again and repeats.
Finally the miner SW shuts down but leaves the HW running. I have to physically reset the rig at this point.
I think I am missing something in 1bash that tells the switcher which algos to allow and I have set the worker up to just run Equihash and Ethash for now in MPH until I get this working.
I read back through the entries here and saw a rather old one by Papampi asking about the SALFTER_MPH function but never saw an answer from SALFTER.
Any help or ideas are appreciated.
Salfter mining launch commands are in 3main.
Open 3main check the miners it use for each algo and manually launch them to see which one has problem.
If you are on 19-2.x you can update and re compile your miners using this post
nvOC v0019-2.0 Community Release - Miner Update Script
In 3main I see this section that helps build the miner commands into the /home/m1/mph_config.json file:
.................
"Equihash":
{
"bin": "/home/m1/zec/v3_4/miner --eexit 3 --fee 0 --pec --server {HOST} --user {NAME}.{MINER} --pass z --port {PORT}",
"power_limit": $pwr_lim_equihash, "gpu_oc": $gpu_clks_equihash, "mem_oc": $mem_clks_equihash, "fan": 0,
"speed": 0.000001140, "power": 0.397
},
"Ethash":
{
"bin": "/home/m1/eth/ethminer_12dev2/ethminer -S {HOST}:{PORT} -O {NAME}.{MINER}:x -U",
"power_limit": $pwr_lim_daggerhashimoto, "gpu_oc": $gpu_clks_daggerhashimoto, "mem_oc": $mem_clks_daggerhashimoto, "fan": 0,
"speed": 0.087, "power": 0.397
},.....................
But I cannot find where the variables like HOST, NAME, PORT and MINER are pulled from.
I'm sure it's just my limited scripting knowledge that's holding me back.
Thanks.