128 lines
3.4 KiB
JSON
128 lines
3.4 KiB
JSON
{
|
|
"logLevel": "debug",
|
|
"logColors": true,
|
|
|
|
"cliPort": 17117,
|
|
"cliServer": "127.0.0.1",
|
|
|
|
"clustering": {
|
|
"enabled": true,
|
|
"forks": "auto"
|
|
},
|
|
|
|
"defaultPoolConfigs": {
|
|
"blockRefreshInterval": 500,
|
|
"jobRebroadcastTimeout": 55,
|
|
"connectionTimeout": 600,
|
|
"emitInvalidBlockHashes": false,
|
|
"validateWorkerUsername": true,
|
|
"tcpProxyProtocol": false,
|
|
"banning": {
|
|
"enabled": true,
|
|
"time": 600,
|
|
"invalidPercent": 50,
|
|
"checkThreshold": 500,
|
|
"purgeInterval": 300
|
|
},
|
|
"redis": {
|
|
"_disabled_socket": "/var/run/redis/redis.sock",
|
|
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
|
|
"host": "127.0.0.1",
|
|
"port": 6379,
|
|
"password": ""
|
|
},
|
|
"poolHex": "",
|
|
"_poolHex_comment": "Set this HEX value using a template of '<pool name> <pool link>' and provide it to various explorer webmasters."
|
|
},
|
|
|
|
"website": {
|
|
"enabled": true,
|
|
"host": "0.0.0.0",
|
|
"port": 8080,
|
|
"stratumHost": "cryppit.com",
|
|
"stats": {
|
|
"updateInterval": 30,
|
|
"historicalRetention": 14400,
|
|
"hashrateWindow": 300
|
|
},
|
|
"adminCenter": {
|
|
"enabled": false,
|
|
"password": "password"
|
|
},
|
|
"tlsOptions" : {
|
|
"enabled": false,
|
|
"cert": "",
|
|
"key": ""
|
|
}
|
|
},
|
|
|
|
"redis": {
|
|
"_disabled_socket": "/var/run/redis/redis.sock",
|
|
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
|
|
"host": "127.0.0.1",
|
|
"port": 6379,
|
|
"password": ""
|
|
},
|
|
|
|
"switching": {
|
|
"switch1": {
|
|
"enabled": false,
|
|
"algorithm": "sha256",
|
|
"ports": {
|
|
"3333": {
|
|
"diff": 10,
|
|
"varDiff": {
|
|
"minDiff": 16,
|
|
"maxDiff": 512,
|
|
"targetTime": 15,
|
|
"retargetTime": 90,
|
|
"variancePercent": 30
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"switch2": {
|
|
"enabled": false,
|
|
"algorithm": "scrypt",
|
|
"ports": {
|
|
"4444": {
|
|
"diff": 10,
|
|
"varDiff": {
|
|
"minDiff": 16,
|
|
"maxDiff": 512,
|
|
"targetTime": 15,
|
|
"retargetTime": 90,
|
|
"variancePercent": 30
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"switch3": {
|
|
"enabled": false,
|
|
"algorithm": "x11",
|
|
"ports": {
|
|
"5555": {
|
|
"diff": 0.001,
|
|
"varDiff": {
|
|
"minDiff": 0.001,
|
|
"maxDiff": 1,
|
|
"targetTime": 15,
|
|
"retargetTime": 60,
|
|
"variancePercent": 30
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"profitSwitch": {
|
|
"enabled": false,
|
|
"updateInterval": 600,
|
|
"depth": 0.90,
|
|
"usePoloniex": true,
|
|
"useCryptsy": true,
|
|
"useMintpal": true,
|
|
"useBittrex": true
|
|
}
|
|
}
|