-a ethash --coin eth+zil --url stratum+tcp://usw-eth.hiveon.net:14444 --user 0x8de7fd2054c5144f0b128f65b3db488e2ba1431d --pass x --worker rig1 --url2 stratum+tcp://us1-zil.shardpool.io:3333 --user2 zil170xjq940q8gq5d3dqxq86hkftgxuy5t2w9ef26.rig1 --extra-dag-epoch 0 --script-crash reboot.sh
In my case, I am using json config file ie.
./t-rex -c config.txt
For me, I am not sure how to set dual mining in json file as dual mode parameters are not working those are mentioned on in readme file. As mentioned above, -user2, url2, worker2, pass2 has been specified but seeing error : ERROR: Can't start T-Rex, pool for Zilliqa mining wasn't set
Something is not working as it should start from command line/terminal first with one pool see if that works and then the next pool just to see which pool is the actual offending one. Make sure to only add the appropriate options no more no less.
I believe --coin directive is used to set if we are dual mining or not, ie. "eth+zil" means it dual mining of eth and zil. If set to coin to eth+zil then it looks for zil pool but can't find it. Solo mining for ETH is working fine when I set coin to "Ethash".
My config is this :
"pools": [
{
"user": "ETHwalletAddress", // wallet address (change it)
"url": "stratum+tcp://asia1.ethermine.org:4444", // pool url
"pass": "x", // password
"worker": "%HOSTNAME%", // worker name
"user2":"zilWalletAddress",
"pass2":"x",
"worker2":"%HOSTNAME%",
"url2":"stratum+tcp://as1-zil.shardpool.io:3333"
},
However, if I move zil pool to "pools2" ie. where we should specify lhr dual mining pool :
"pools": [
{
"user": "ETHwalletAddress", // wallet address (change it)
"url": "stratum+tcp://asia1.ethermine.org:4444", // pool url
"pass": "x", // password
"worker": "%HOSTNAME%", // worker name
},
],
"pools2": [
{
"user":"zilWalletAddress",
"pass":"x",
"worker":"%HOSTNAME%",
"url":"stratum+tcp://as1-zil.shardpool.io:3333"
},
]
Then it is mining only for ZIL pool , no ETH. I ran for about 30 mins and its only mining for ZIL. Any idea what I am missing ?