Post
Topic
Board Mining (Altcoins)
Re: [ANN] T-Rex 0.7.4 NVIDIA GPU miner with web control monitoring page
by
trexminer
on 20/11/2018, 11:44:30 UTC
Many thanks to the creator of this great miner,
and it would be really nice to have failover for pools in pools.txt files!

This feature is already supported via "-c " launch argument. See config_example file in the miner archive.
How to configure failover, if pools disconnected in .bat file?
Config have priority. It is not comfortable Sad
In Claymore's software it in epools file. Very comfortably. And I can mine via .bat file and failover pools settings in a separate file epools.txt


You can do exactly the same with T-Rex. Command line arguments take precedence over config parameters, so you can leave your pools in the config file moving the rest of your parameters to cmd line, e.g.

Code:
t-rex -c config.json -a bcd -i 20 -N 3600

where config.json is defined as follows:
Code:
{
  // List of main and failover pools
  "pools": [
    {
      "user": "1MKrTujwHxda6knL8hHrPMi7Git4upX56E", // wallet address
      "url": "stratum+tcp://mine.icemining.ca:8433", // pool stratum
      "pass": "c=BCD" // password
    },
    {
      "user": "1MKrTujwHxda6knL8hHrPMi7Git4upX56E",
      "url": "stratum+tcp://eu.gos.cx:8844",
      "pass": "c=BCD"
    }
  ],
}

This whole cmd line + config system is very flexible, just remember that all your config parameters will be overridden by cmd line options
How to disable CMD priority?
Code:
t-rex -a x16r -o stratum+tcp://pool.bsod.pw:2159 -u -p x -c failover.json
i want overridden "wallet2" in failover.json.
Like this:
      "user": "WALLET2"
if pool in CMD .bat file is disconnected, then start mining on failover.json in another pool and another  wallet - "wallet 2".
Example:
If in cmd pool with (RVNcoin) binance wallet disconnected, then start mining (failover.json) HelpTheHomeless(HTH) on another pool on Cryptopia wallet.

if pool unavailable, then CMD has no priority. - It's very comfortably
Like claymore, phoenixminer, ccminer etc
thx

In this case you need to simply set your "-o stratum+tcp://pool.bsod.pw:2159 -u -p x" pool as the first one in the list of pools in the config file and not specify any pools in your cmd line. The first pool in config file is the main one, whereas the rest are failover ones. And of course you can have different wallets set for different pools