More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

XmRig - Not accepting "variant":"1" correctly in config override

Setting up a XmRig to mine turtle coin, when I put in the config override it accepts “algo”: “cryptonight-lite” but seems to not accept the “variant”:“1”.

However if I use teleconnect and run a screen session and run a altered script from XmRig it works fine.

Script :

#!/usr/bin/env bash
cd dirname $0
export LD_LIBRARY_PATH=…/xmr-stak
xmrig --algo=cryptonight-lite --variant=1 --user=TRTLuzNDrJBEcd4vGSf5HzASWVgSKjGFGLGNKGRunZHTbEFJSgj13HYCx9M8vqsmrCZHhBP1SxbdWTAZ5o4TJMePW5VRCkYfEPP --url=us.turtlepool.space:3333

i think you have to give simply --variant=1 and not “variant”:“1” in config override, try and let us know !!

let’s eat some trtls !!

parse error: Invalid numeric literal at line 31, column 15
No WAL address is set
jq: error (at :11): object ({“pools”:[{…) and null (null) cannot be multiplied
No pool URL supplied. Exiting.
/hive/xmrig260/config.json<0>: The document is empty.

xmrig exited, waiting to cooldown a bit

No pool URL supplied. Exiting.
/hive/xmrig260/config.json<0>: The document is empty.

xmrig exited, waiting to cooldown a bit

No pool URL supplied. Exiting.
/hive/xmrig260/config.json<0>: The document is empty.

xmrig exited, waiting to cooldown a bit

No pool URL supplied. Exiting.
/hive/xmrig260/config.json<0>: The document is empty.

the config file is also blank…

Ok so I’ve found a little more information out. When you use the “variant”:1 on the config override it does pick it up however it puts it in the wrong spot in the config.json.

Is there a way to put the variant automatically be placed in with the pool settings?

Default place… Which doesn’t work

“algo”: “cryptonight-lite”,
“av”: 0,
“background”: false,
“colors”: true,
“cpu-affinity”: null,
“cpu-priority”: null,
“donate-level”: 1,
“log-file”: null,
“max-cpu-usage”: 75,
“print-time”: 60,
“retries”: 5,
“retry-pause”: 5,
“safe”: false,
“syslog”: false,
“threads”: null,
“pools”: [
{
“url”: “us.turtlepool.space:3333”,
“user”: “TRTLuzNDrJBEcd4vGSf5HzASWVgSKjGFGLGNKGRunZHTbEFJSgj13HYCx9M8vqsmrCZHhBP1SxbdWTAZ5o4TJMePW5VRCkYfEPP”,
“pass”: “”,
“use_nicehash”: false,
“keepalive”: true,
}
],
“api”: {
“port”: 60050,
“access-token”: null,
“worker-id”: null
},
“variant”: 1
}


Manually moved into the Pools section and now if I manully start xmrig within hive it uses the config.json and works fine.

{
“algo”: “cryptonight-lite”,
“av”: 0,
“background”: false,
“colors”: true,
“cpu-affinity”: null,
“cpu-priority”: null,
“donate-level”: 1,
“log-file”: null,
“max-cpu-usage”: 75,
“print-time”: 60,
“retries”: 5,
“retry-pause”: 5,
“safe”: false,
“syslog”: false,
“threads”: null,
“pools”: [
{
“url”: “us.turtlepool.space:3333”,
“user”: “TRTLuzNDrJBEcd4vGSf5HzASWVgSKjGFGLGNKGRunZHTbEFJSgj13HYCx9M8vqsmrCZHhBP1SxbdWTAZ5o4TJMePW5VRCkYfEPP”,
“pass”: “”,
“use_nicehash”: false,
“keepalive”: true,
“variant”: 1
}
],
“api”: {
“port”: 60050,
“access-token”: null,
“worker-id”: null
},
}

Ignore - Im now using http://forum.hiveos.farm/discussion/comment/2852/#Comment_2852 to mine turtle.