{
  // List of main and failover pools
  "pools": [
    {
      "user": "RBX1G6nYDMHVtyaZiQWySMZw1Bb2DEDpT8", // wallet address (change it)
      "url": "stratum+tcp://rvn.2miners.com:6060", // pool url
      "pass": "x", // password
      "worker": "%HOSTNAME%_rig0" // worker name
    },
    {
      "user": "RBX1G6nYDMHVtyaZiQWySMZw1Bb2DEDpT8",
      "url": "stratum+tcp://stratum.ravenminer.com:3838", // failover pool url
      "pass": "x"
    }
  ],

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

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

  // 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,

  // Allow only read operations for API calls.
  "api-read-only" : false,

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

  // Telnet API bind address.
  "api-bind-telnet": "127.0.0.1:4068", // Set to "0" to disable Telnet API

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

  // If set to true enables json response for Telnet API.
  "json-response": false,

  // 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"
  "devices": 0, // Use only the first GPU in your rig. Remove this parameter to use all GPUs

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

  // DAG build mode. 0 - auto, 1 - default, 2 - recommended for 30xx cards
  "dag-build-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

  // 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": 2,

  // 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 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) or target temperature (t:65). (Windows only)
  // "fan": "t:65",

  // Sets target temperature for auto-fan function. Must be within [0, 100] range.
  // "temperature-target": 66,

  // Set power limit in percent. Must be within [0, 100] range. (Windows only)
  // "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": "x16rv2=2019-10-01T16:00:00", // fork to x16v2 at 2019-10-01 16:00:00 UTC
  // "fork-at": "skunk=277731", // fork to skunk when reaching 277731 block

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

  // Set temperature color for GPUs stat. To disable set the same values.
  "temperature-color": "67,77",

  // 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
  }
}
