From cf7245b469771c4ba78f654d709722182054b840 Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 1 Apr 2019 11:54:09 +0700 Subject: [PATCH] Update default config. --- src/config.json | 10 +++++++--- src/core/config/ConfigLoader_default.h | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/config.json b/src/config.json index e95c2400..dbb980d0 100644 --- a/src/config.json +++ b/src/config.json @@ -1,11 +1,14 @@ { "algo": "cryptonight", "api": { + "id": null, + "worker-id": null + }, + "http": { + "enabled": false, + "host": "127.0.0.1", "port": 0, "access-token": null, - "id": null, - "worker-id": null, - "ipv6": false, "restricted": true }, "asm": true, @@ -30,6 +33,7 @@ "nicehash": false, "keepalive": false, "variant": -1, + "enabled": true, "tls": false, "tls-fingerprint": null } diff --git a/src/core/config/ConfigLoader_default.h b/src/core/config/ConfigLoader_default.h index f2aababd..9ef81fd2 100644 --- a/src/core/config/ConfigLoader_default.h +++ b/src/core/config/ConfigLoader_default.h @@ -35,11 +35,14 @@ R"===( { "algo": "cryptonight", "api": { + "id": null, + "worker-id": null + }, + "http": { + "enabled": false, + "host": "127.0.0.1", "port": 0, "access-token": null, - "id": null, - "worker-id": null, - "ipv6": false, "restricted": true }, "asm": true, @@ -64,6 +67,7 @@ R"===( "nicehash": false, "keepalive": false, "variant": -1, + "enabled": true, "tls": false, "tls-fingerprint": null }