Update default config example.
This commit is contained in:
parent
2d45cc64c1
commit
8eb9b4d37a
2 changed files with 20 additions and 10 deletions
|
@ -80,6 +80,7 @@
|
||||||
],
|
],
|
||||||
"print-time": 60,
|
"print-time": 60,
|
||||||
"health-print-time": 60,
|
"health-print-time": 60,
|
||||||
|
"dmi": true,
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"retry-pause": 5,
|
"retry-pause": 5,
|
||||||
"syslog": false,
|
"syslog": false,
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
/* XMRig
|
/* XMRig
|
||||||
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
|
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
|
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
|
|
||||||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
||||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
|
||||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
||||||
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
||||||
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -22,6 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef XMRIG_CONFIG_DEFAULT_H
|
#ifndef XMRIG_CONFIG_DEFAULT_H
|
||||||
#define XMRIG_CONFIG_DEFAULT_H
|
#define XMRIG_CONFIG_DEFAULT_H
|
||||||
|
|
||||||
|
@ -29,6 +24,7 @@
|
||||||
namespace xmrig {
|
namespace xmrig {
|
||||||
|
|
||||||
|
|
||||||
|
// This feature require CMake option: -DWITH_EMBEDDED_CONFIG=ON
|
||||||
#ifdef XMRIG_FEATURE_EMBEDDED_CONFIG
|
#ifdef XMRIG_FEATURE_EMBEDDED_CONFIG
|
||||||
const static char *default_config =
|
const static char *default_config =
|
||||||
R"===(
|
R"===(
|
||||||
|
@ -45,9 +41,9 @@ R"===(
|
||||||
"restricted": true
|
"restricted": true
|
||||||
},
|
},
|
||||||
"autosave": true,
|
"autosave": true,
|
||||||
"version": 1,
|
|
||||||
"background": false,
|
"background": false,
|
||||||
"colors": true,
|
"colors": true,
|
||||||
|
"title": true,
|
||||||
"randomx": {
|
"randomx": {
|
||||||
"init": -1,
|
"init": -1,
|
||||||
"init-avx2": -1,
|
"init-avx2": -1,
|
||||||
|
@ -80,6 +76,7 @@ R"===(
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"loader": null,
|
"loader": null,
|
||||||
"platform": "AMD",
|
"platform": "AMD",
|
||||||
|
"adl": true,
|
||||||
"cn/0": false,
|
"cn/0": false,
|
||||||
"cn-lite/0": false
|
"cn-lite/0": false
|
||||||
},
|
},
|
||||||
|
@ -90,7 +87,7 @@ R"===(
|
||||||
"cn/0": false,
|
"cn/0": false,
|
||||||
"cn-lite/0": false
|
"cn-lite/0": false
|
||||||
},
|
},
|
||||||
"donate-level": 5,
|
"donate-level": 1,
|
||||||
"donate-over-proxy": 1,
|
"donate-over-proxy": 1,
|
||||||
"log-file": null,
|
"log-file": null,
|
||||||
"pools": [
|
"pools": [
|
||||||
|
@ -107,15 +104,27 @@ R"===(
|
||||||
"tls": false,
|
"tls": false,
|
||||||
"tls-fingerprint": null,
|
"tls-fingerprint": null,
|
||||||
"daemon": false,
|
"daemon": false,
|
||||||
|
"socks5": null,
|
||||||
"self-select": null
|
"self-select": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"print-time": 60,
|
"print-time": 60,
|
||||||
"health-print-time": 60,
|
"health-print-time": 60,
|
||||||
|
"dmi": true,
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"retry-pause": 5,
|
"retry-pause": 5,
|
||||||
"syslog": false,
|
"syslog": false,
|
||||||
|
"tls": {
|
||||||
|
"enabled": false,
|
||||||
|
"protocols": null,
|
||||||
|
"cert": null,
|
||||||
|
"cert_key": null,
|
||||||
|
"ciphers": null,
|
||||||
|
"ciphersuites": null,
|
||||||
|
"dhparam": null
|
||||||
|
},
|
||||||
"user-agent": null,
|
"user-agent": null,
|
||||||
|
"verbose": 0,
|
||||||
"watch": true,
|
"watch": true,
|
||||||
"pause-on-battery": false
|
"pause-on-battery": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue