#46 Added config file support.

This commit is contained in:
XMRig 2017-07-31 16:05:16 +03:00
parent 5bed17a8af
commit e6a72b2f78
5 changed files with 283 additions and 89 deletions

25
src/config.json Normal file
View file

@ -0,0 +1,25 @@
{
"algo": "cryptonight",
"av": 0,
"background": false,
"colors": true,
"cpu-affinity": null,
"donate-level": 5,
"log-file": null,
"max-cpu-usage": 75,
"print-time": 60,
"retries": 5,
"retry-pause": 5,
"safe": false,
"syslog": false,
"threads": 4,
"pools": [
{
"url": "pool.minemonero.pro",
"user": "",
"pass": "x",
"keepalive": true,
"nicehash": false
}
]
}