As it is, with both ETC and ETH being volatile I was wondering if anyone has come up with something to help us miners mine whatever is most profitable?
For instance: Has anyone come up with a script to check a site like WhatToMine.com and then based on whichever currency is most profitable to automatically change local.conf to one of two configs (one set up for mining ETH or one for ETC).
I'm not a coder but I imagine the process would be something like this
1. Check WhatToMine - determine whether ETH or ETC is more profitable.
2, If the current currency is unchanged from the last time the script checked then do nothing. If it has changed then proceed to steps 3-7.
3. If ETH is more profitable save a copy of local-eth.conf as local.conf / If ETC is more profitable save a copy of local-etc.conf as local.conf
4. Stop mining with command: disallow
5. Remove the DAG with command: rm -f /home/ethos/.ethash/full*
6. Restart the proxy with command: restart-proxy
7. Allow mining with command: allow
8. Wait a specified time (30 mins? 1 hour? 2 hours? 3 hours? 1 day?)
9. Repeat step 1.
Any thoughts on how to do this in a script?
0 ·
Comments
great idea !
but i think you should check between all the ethash coins (eth, eth and exp)
the profitability on exp is not bad and the hashrate is higher because exp are at epoch #10 (smaller dag )
check yoursel
If anyone can construct such a script/cron job and post it here you'll likely be a legend.
OP, It shouldn't be to hard to write the cron job, just spend an afternoon writing it and you should be set :P.
Can you do it? I haven't a clue when it comes to coding, cron, etc. I'm just a miner.