As you all may noticed, so many pools have been hacked and gone down
some may come back and some dont
@fullzero and @damNmad
I have been working on a way so we can add reserve pools via config files instead of in line configs.
So if these things happened again our mining wont stuck in boot loop.
My servers had 25 boots before I wake up and change server when zpool went down 2 days ago.
I made some changes to my 1bash and 3main for the coins I use most.
If you want I can do it for all coins for the next version update.
Here is the example for zec
1bash:
ZEC_ADDRESS="t_your_zec_wallet_address"
EWBF_VERSION="3_4" # choose 3_3 or 3_4
ZEC_ADDRESS=$ZEC_ADDRESS
ZEC_WORKER="$WORKERNAME"
ZEC_POOL="us1-zcash.flypool.org"
ZEC_PORT="3333"
ZEC_ADDRESS_1=$ZEC_ADDRESS
ZEC_WORKER_1="$WORKERNAME/your@email_for_nanopool"
ZEC_POOL_1="zec-eu1.nanopool.org"
ZEC_PORT_1="6666"
ZEC_ADDRESS_2="suprnova_username"
ZEC_WORKER_2="$WORKERNAME"
ZEC_POOL_2="zec-us.suprnova.cc"
ZEC_PORT_2="2142"
3main:
if [ $COIN == "ZEC" ]
then
if [ $EWBF_VERSION == "3_3" ]
then
HCD='/home/m1/zec/v3_3/miner'
fi
if [ $EWBF_VERSION == "3_4" ]
then
HCD='/home/m1/zec/v3_4/miner'
fi
MINER_CFG="/home/m1/miner_configs/zec.cfg"
screen -dmS miner $HCD --config $MINER_CFG;
if [ $LOCALorREMOTE == "LOCAL" ]
then
screen -r miner
fi
BITCOIN="theGROUND"
while [ $BITCOIN == "theGROUND" ]
do
sleep 60
done
fi
/home/m1/miner_configs/zec.cfg:
source ~/1bash
#########################################################################
#########################################################################
#########################################################################
#########################################################################
# Common parameters
[common]
templimit 90
pec 1
boff 0
eexit 3
tempunits c
log 0
logfile miner.log
api 127.0.0.1:42000
fee 0
# The miner start work from this server
# When the server is fail, the miner will try to reconnect 3 times
# After three unsuccessful attempts, the miner will switch to the next server
# You can add up to 8 servers
# main server
[server]
server $ZEC_POOL
port $ZEC_PORT
user $ZEC_ADDRESS.$ZEC_WORKER
pass x
# additional server 1
[server]
server $ZEC_POOL_1
port $ZEC_PORT_1
user $ZEC_ADDRESS_1.$ZEC_WORKER_1
pass x
#additional server 2
[server]
server $ZEC_POOL_2
port $ZEC_PORT_2
user $ZEC_ADDRESS_2.$ZEC_WORKER_2
pass x
Let me know if these are ok, or I need to change/add anything
so I make it for all coins