Skip to content

Config XMRigDaemon

Ben Gräf edited this page Oct 30, 2019 · 15 revisions

General

  • XMRigDaemon (Miner) and XMRigCCServer can run on the same machine. In this case just point the url to localhost like in the config below

  • XMRigDaemon will automatically connect every 10s to the XMRigCCServer and publish its results to it. After that it will check for an outstanding command, which will be immediately executed

A detailed cpu/thread/coin configuration guide you can find here.

XMRigDaemon config

{
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "autosave": true,
    "version": 1,
    "background": false,
    "colors": true,
    "randomx": {
        "init": -1,
        "numa": true
    },
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "hw-aes": null,
        "priority": null,
        "asm": true,
        "argon2-impl": null,
        "cn/0": false,
        "cn-lite/0": false
    },
    "donate-level": 5,
    "log-file": null,
    "pools": [
        {
            "algo": null,
            "coin": null,
            "url": "donate.graef.in:80",
            "user": "YOUR_WALLET_ADDRESS",
            "pass": "x",
            "rig-id": null,
            "nicehash": false,
            "keepalive": false,
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": false
        }
    ],
    "cc-client": {
        "enabled" : true,
        "url": "localhost:3344",
        "use-tls" : false,
        "access-token": "mySecret",
        "worker-id": null,
        "update-interval-s": 10,
        "use-remote-logging" : true,
        "upload-config-on-start" : true
    },
    "print-time": 60,
    "retries": 5,
    "retry-pause": 5,
    "syslog": false,
    "user-agent": null,
    "watch": true
}
Clone this wiki locally