Author

Topic: failover code for poolmining (Read 118 times)

newbie
Activity: 38
Merit: 0
January 17, 2018, 06:21:53 AM
#3
Hi Thanks for the response really appreciate

just to check did this code rotate the pool:

"time-limit": 3600

Does this say change pool every 1 hr?

 Also would this be timeout id d/c?

 "timeout" : 60,

And just one more question if it is ok:

   "api-bind" : "0.0.0.0:4068",
    "api-remote" : true,

What do I need this for?

Thanks for reply
sr. member
Activity: 349
Merit: 250
January 16, 2018, 06:27:07 PM
#2
Try something more like this...

{
    "_note": "Sample failover with 3 pools",
 
    "pools":[{
        "name": "yiimp.ccminer.org",
        "url": "stratum+tcp://yiimp.ccminer.org:8333",
        "user": "WALLETADDRESS",
        "pass": "c=LUX"
    },
    {
        "name": "FutureCoins",
        "url": "stratum+tcp://lux.futurecoins.club:6667",
        "user": "WALLETADDRESS",
        "pass": "c=LUX",
        "time-limit": 3600
    },
    {
        "name": "altminer.net",
        "url": "stratum+tcp://us.altminer.net:6667",
        "user": "WALLETADDRESS",
        "pass": "c=LUX",
        "time-limit": 3600
    }    ],
 
    "algo" : "phi",
      "protocol" : false,
    "cpu-priority" : 3,
    "timeout" : 60,
    "api-bind" : "0.0.0.0:4068",
    "api-remote" : true,
    "statsavg" : 20,
    "intensity" : 21,
    "max-log-rate" : 60

    }
newbie
Activity: 38
Merit: 0
January 16, 2018, 12:12:45 PM
#1
Hi guys I am trying to make a .conf file to say:

if yiimp server go down for more than 300 second go to mine another pool:

Here is my code:

{

  "pools":[{
    "name": "Yiimp Pool Lux",
    "url": "stratum+tcp://yiimp.eu:8339",
    "user": "wallet",
    "pass": "c=LUX"
  },
  {
    "name": "Next Pool",
    "url": "stratum+tcp://pool.bsod.pw:6667",
    "user": "wallet",
    "pass": "c=LUX"
  }],

  "algo" : "phi"
}

Do I need to include timeout somehow from this reference?

  -T, --timeout=N       network timeout, in seconds (default: 300)

https://github.com/nicehash/ccminer-nanashi/blob/master/README.txt

Thanks
Jump to: