diff --git a/src/config.json b/src/config.json index 57b2984b..af3bd32a 100644 --- a/src/config.json +++ b/src/config.json @@ -3,9 +3,20 @@ "id": null, "worker-id": null }, + "http": { + "enabled": false, + "host": "127.0.0.1", + "port": 0, + "access-token": null, + "restricted": true + }, "autosave": true, "background": false, "colors": true, + "randomx": { + "init": -1, + "numa": true + }, "cpu": { "enabled": true, "huge-pages": true, @@ -17,13 +28,6 @@ }, "donate-level": 5, "donate-over-proxy": 1, - "http": { - "enabled": false, - "host": "127.0.0.1", - "port": 0, - "access-token": null, - "restricted": true - }, "log-file": null, "pools": [ { diff --git a/src/core/config/Config_default.h b/src/core/config/Config_default.h index 06c29566..2f853446 100644 --- a/src/core/config/Config_default.h +++ b/src/core/config/Config_default.h @@ -37,9 +37,20 @@ R"===( "id": null, "worker-id": null }, + "http": { + "enabled": false, + "host": "127.0.0.1", + "port": 0, + "access-token": null, + "restricted": true + }, "autosave": true, "background": false, "colors": true, + "randomx": { + "init": -1, + "numa": true + }, "cpu": { "enabled": true, "huge-pages": true, @@ -51,13 +62,6 @@ R"===( }, "donate-level": 5, "donate-over-proxy": 1, - "http": { - "enabled": false, - "host": "127.0.0.1", - "port": 0, - "access-token": null, - "restricted": true - }, "log-file": null, "pools": [ {