{ "algo": "cryptonight", // cryptonight (default) or cryptonight-lite "user-agent": "", // custom user-agent "av": 0, // algorithm variation, 0 auto select "background": false, // true to run the miner in the background "colors": false, // true to enable colored output "cpu-affinity": null, // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1 "cpu-priority": null, // set process priority (0 idle, 2 normal to 5 highest) /* Default donate setting: */ "donate-level": 3, // default donate minutes (3 minutes each 1 hour) /* Custom donate settings: "donate-level": [ { // "donate-url": "fee.xmrig.com:443", // custom donate pool for cryptonight // "donate-url-little": "fee.xmrig.com:3333", // custom donate pool for cryptonight-little // "donate-user": "", // custom donate user // "donate-pass": "", // custom donate pass // "donate-keepalive": false, // custom donate keepalive // "donate-nicehash": true, // custom donate nicehash "donate-minutes": 3, // custom donate minutes for each cicle "minutes-in-cicle": 60 // custom total minutes in a cicle (60 => 1 hour) // that is [(57 minutes) to pool + (3 minutes) to donate...] and repeat all until miner ends. } ], */ "debug": false, "log-file": null, // log all output to a file, example: "c:/some/path/xmrig.log" "max-cpu-usage": 75, // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option. "print-time": 60, // print hashrate report every N seconds "retries": 5, // number of times to retry before switch to backup server "retry-pause": 5, // time to pause between retries "safe": false, // true to safe adjust threads and av settings for current CPU "syslog": false, // use system log for output messages "threads": null, // number of miner threads "pools": [ { "url": "pool.minemonero.pro:3333", // --------------- URL of mining server /* "url": "pool.minemonero.pro:443@localhost:8080",*/ // --------------- URL of mining server over HTTP (CONNECT) proxy /* "url": "pool.minemonero.pro:7777#secret_keystream",*/ // URL of mining xmrig-proxy with encrypted support /* "url": "pool.minemonero.pro:8080#secret_keystream@localhost:8080",*/ // URL of mining xmrig-proxy with encrypted support over HTTP (CONNECT) proxy "user": "%HOST_NAME%_%IP_ADD%+100", // username for mining server using meta-data (%HOST_NAME%, %IP_ADD%, etc.) "pass": "x", // password for mining server "keepalive": true, // send keepalived for prevent timeout (need pool support) "nicehash": false // enable nicehash/xmrig-proxy support } ], "api": { "port": 0, // port for the miner API https://github.com/xmrig/xmrig/wiki/API "access-token": null, // access token for API "worker-id": null // custom worker-id for API } }