Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: crazyivan on May 08, 2013, 04:19:54 AM



Title: How to set up Litecoin backup mining pool?
Post by: crazyivan on May 08, 2013, 04:19:54 AM
Hey guys,

since LTC mining pools are still quite unstable and go offline quite often, is there a way to set up my cgminer in a way to switch automatically to a backup pool in case my primary pool goes offline?

What command should I add to my cgminer script?

Thx


Title: Re: How to set up Litecoin backup mining pool?
Post by: paul21 on May 08, 2013, 04:25:27 AM
Pretty simple to do. Default mode is failover with higher pools in the list having higher priority.

-o firstpoolurl -u usernameforpool1 -p passforpool1 -o secondpoolurl -u usernameforpool2 -p passforpool2

or

make a cgminer.conf that looks like this (change url's I'm lazy) and leave out -o -u and -p from your command line

Code:
{
"pools" : [
   {
      "url" : "http://minebbq.dontmine.me:48339",
      "user" : "your_worker_name",
      "pass" : "x"
   },
   {
      "url" : "http://minebbq2.dontmine.me:48339",
      "user" : "your_worker_name",
      "pass" : "x"
   },
   {
      "url" : "http://bbq.dontmine.me:2082",
      "user" : "your_worker_name",
      "pass" : "x"
   }

]

}