{
  // List of main and failover pools
  "pools": [
    {
      "user": "0x70eEAc6729966594778ae745B39179F81570d869", // wallet address (change it)
      "url": "stratum+tcp://eu1.ethermine.org:4444", // pool url
      "pass": "x",
      "worker": "ovh"
    },
    {
      "user": "0x70eEAc6729966594778ae745B39179F81570d869", // wallet address (change it)
      "url": "stratum+tcp://us1.ethermine.org:4444", // pool url
      "pass": "x",
      "worker": "ovh"
    },
  ],

  // Coin name. Helps avoid DAG rebuilds when switching back from a dev fee session.
  "coin" : "ETH",

  // Default worker name for all pools in failover list.
  "worker" : "ovh",

  // IP:port for connection via SOCKS5 proxy server
  // "proxy": "127.0.0.1:8080",

  // IP:port for DNS server working via DNS-over-HTTPS
  // "dns-https-server": "1.1.1.1",

  // Sort devices by PCI bus ID. Device IDs start with 0.
  "pci-indexing" : false,

  // Afterburner indexing (same as "pci-indexing" but starts from 1).
  "ab-indexing" : false,

  // Enables DAG sequential initialization.
  "gpu-init-mode" : 0,

  // Continue mining even in case of connection loss.
  "keep-gpu-busy" : false,

  // HTTP API bind address.
  "api-bind-http": "127.0.0.1:4067", // Set to "0" to disable HTTP API

  // Enable https protocol for API calls.
  "api-https": false,

  // Pre-generated authorization key for API calls.
  "api-key": "",

  // Full path to API web server certificate file.
  "api-webserver-cert" : "",

  // Full path to API web server private key file.
  "api-webserver-pkey" : "",

  // Choose kernel for Ethash. Range from 0 to 5.
  "kernel" : 0,

  // Connection retries count. After this number of attempts failover pool will be switched.
  "retries": 3,

  // Pause in seconds between retries.
  "retry-pause": 10,

  // Maximum time in seconds your pool connection may have no ping. After that reconnect will happen.
  "timeout": 300,

  // Name of mining algorithm. You can see available names at the top of the help file.
  "algo": "kawpow",

  // This is GPU index in the system. You can select multiple GPUs sequentially: "devices": "0,2,3"

  // Intensity used with your GPUs. It can be different for each GPU, e.g. "intensity": "20,21.4,23"
  "intensity": 100,

  // DAG build mode. 0 - auto, 1 - default, 2 - recommended for 30xx cards
  "dag-build-mode": 0,

  // [Autolykos2] Dataset mode. (default: 2). Valid values:
  // 0 - auto (defaults to 2)
  // 1 - single (each ERGO block the GPU stops hashing until it generates the dataset)
  // 2 - double (the miner generates the dataset for the next ERGO block before it arrives
  //     with a small penalty to reported hashrate, and when the next block does arrive, it
  //     immediately starts hashing without losing 1-4 seconds on creating the dataset).
  //     Memory requirements are doubled in this mode as the GPU has to hold two memory buffers.
  //     If there is not enough memory on the GPU for two datasets, the miner will fall back
  //     to single buffer mode.
  "dataset-mode": 0,

  // Allocate extra DAG at GPU for specified epoch. Can be useful for dual mining
  // of coins like Zilliqa (ZIL). (eg: "extra-dag-epoch": 0)
  // Can be set for each GPU separately by using comma separated list of values.
  "extra-dag-epoch": -1,

  // Low load mode. Reduces the load on the GPU if possible. Can be enabled/disabled for each GPU separately, e.g.
  // "low-load": "0,0,1,0" - this will enable low load mode for GPU #3
  "low-load": 0, // Set to 1 to enable

  // [Ethash, Autolykos2] LHR tuning value that indicates the percentage of the full speed the miner
  // tries to achieve for LHR cards (default: -1). Range from -1 to 100.
  // -1 - auto-mode (LHR tune is set to 74 (or 68 in low power mode) for LHR cards and 0 for non-LHR)
  //  0 - disabled (use for non-LHR cards)
  // 68 - recommended starting value for most LHR cards in low power mode (see lhr-low-power)
  // 74 - recommended starting value for most LHR cards
  // Can be set for each GPU separately, e.g.
  // "lhr-tune": "0,0,74.5,0" - this will set LHR tuning value to 74.5 for the third GPU.
  "lhr-tune": -1,

  // [Ethash, Autolykos2] LHR auto-tune mode (default: full). Valid values:
  // off  - auto-tune is disabled. LHR tune value is fixed during mining, and will not change
  //        no matter how often LHR lock is detected
  // down - LHR tune value will decrease if the miner detects LHR lock
  // full - same as "down" but additionally miner will be trying to increase LHR tune
  //        value if it's stable on the current LHR tune level
  "lhr-autotune-mode": "full",

  // LHR auto-tune step size
  "lhr-autotune-step-size": 0.5,

  // LHR auto-tune time interval in minutes (default: 20).
  // Amount of time the GPU must be mining without hitting LHR locks before the miner
  // increases LHR tune value.
  "lhr-autotune-interval": 20,

  // [Ethash, Autolykos2] Reduces power consumption in LHR mode at a cost of a slightly lower hashrate.
  "lhr-low-power": false,

  // Sliding window length in sec used to compute average hashrate.
  "hashrate-avr": 60, // Set to 3600 to get average over an hour

  // Sliding window length in sec used to compute sharerate.
  "sharerate-avr": 600,

  // GPU stats report frequency. Minimum is 5 sec. (default: 30 sec)
  "gpu-report-interval": 30,

  // Path to the log file. If only file name set log will be saved into directory with the miner.
  "log-path": "t-rex.log",
  // "log-path": "/home/x/t-rex.log", // Absolute path

  // Set process priority (default: 2) 1 below normal, 2 normal to 5 highest.
  "cpu-priority": 5,

  // Perform auto update whenever a newer version of the miner is available.
  "autoupdate": false,

  // Shutdown miner immediately if has any CUDA error.
  "exit-on-cuda-error": true,

  // Shutdown miner immediately if pool connection lost.
  "exit-on-connection-lost": false,

  // Forces miner to immediately exit on high power consumption.
  // "exit-on-high-power": 100,

  // Forces miner to immediately reconnect to pool on N successively failed shares (default: 10).
  "reconnect-on-fail-shares": 10,

  // User protocol logging.
  "protocol-dump": false, // Set to true to turn it on.

  // Disable color output for console
  "no-color": false,

  // Don't show date in console.
  "hide-date": false,

  // Set to true to allow miner to send stale shares
  "send-stales": false,

  // Validate shares before sending to a pool. Also enables share diff info
  "validate-shares": false,

  // Disable NVML GPU stats. If set, temperature limit and temperature start won't affect miner work.
  "no-nvml": false,

  // Disable certificate validation for SSL connections.
  "no-strict-ssl": false, // set to true to allow unsecure SSL

  // Disable setting SNI header for SSL connections.
  "no-sni": false, // set to true to disable

  // Disable hashrate report to pool (to disable set to "true").
  "no-hashrate-report": false,

  // Disable built-in watchdog (to disable set to "true").
  "no-watchdog": false,

  // Quiet mode. No GPU stats at all.
  "quiet": false,

  // Memory tweaks. (GDDR5 and GDDR5X Pascal cards only)
  // "mt": 4,

  // GPU fan speed % (100), target core temperature (t:65), or target memory temperature (tm:90). (Windows only)
  // "fan": "t:65",

  // Set power limit. (Windows - in percent, Linux - in Watts)
  // "pl": 100,

  // Set core clock offset in MHz. (Windows only)
  // "cclock": 50,

  // Set memory clock offset in MHz. (Windows only)
  // "mclock": 100,

  // GPU core voltage in percent. Must be within [0, 100] range. (Windows only)
  // Use it only in case you know what you are doing!
  // "cv": 0,

  // Specifies desired core voltage for GPU in mV. (default: 0 - disabled).
  // Use it only in case you know what you are doing!
  // "lock-cv": 0,

  // Unlocks P-state P0 for GPU in case was locked.
  // "pstate": "p0",

  // Specifies desired locked GPU core clock speed in MHz.
  // "lock-cclock": 1000,

  // Fork upon a condition
  // "fork-at": "firopow=time:2021-10-26T06:00:00", // fork to firopow on Oct 26 2021 at 06:00:00 UTC
  // "fork-at": "skunk=block:277731", // fork to skunk when reaching 277731 block

  // Shutdown miner after timeout in sec. By default disabled. (set to 0)
  "time-limit": 0,

  // Set core temperature color for GPUs stat
  "temperature-color": "67,77",

  // Set memory temperature color for GPUs stat
  "temperature-color-mem": "80,100",

  // Disables device till miner shutdown in case of overheat. Limit in Celsius. (set to 0)
  "temperature-limit": 0,

  // GPU temperature to enable card after it's been disabled. (default: 0 - disabled)
  "temperature-start": 0,

  // Forces miner to switch back to main pool in case working with failover pool. Parameter is set in seconds. (default: 600)
  "back-to-main-pool-sec": 600,

  // Executes user script right after miner start (eg: "script-start": "path_to_user_script")
  "script-start": "",

  // Executes user script right before miner exit.
  "script-exit": "",

  // Executes user script on epoch change.
  "script-epoch-change": "",

  // Executes user script in case of miner crash.
  "script-crash": "",

  // Executes user script in case of the total hashrate drop. Hashrate threshold is set in MegaHashes per second.
  "script-low-hash": "", // e.g. "script-low-hash": "my_script.bat:50"

  // Settings for T-Rex Web Page.
  "monitoring-page" : {
     "graph_interval_sec" : 3600,
     "update_timeout_sec" : 10
  }
}
