commit
5983bc6cbe
3 changed files with 67 additions and 57 deletions
|
@ -1,31 +0,0 @@
|
||||||
# Algorithms
|
|
||||||
|
|
||||||
NinjaRig uses a different way to specify algorithms, compared to other miners.
|
|
||||||
|
|
||||||
Algorithm selection splitted to 2 parts:
|
|
||||||
|
|
||||||
* Global base algorithm per miner or proxy instance, `algo` option. Possible values: `argon2id`.
|
|
||||||
* Algorithm variant specified separately for each pool, `variant` option.
|
|
||||||
* [Full table for supported algorithm and variants.](https://github.com/xmrig/xmrig-proxy/blob/master/doc/STRATUM_EXT.md#14-algorithm-names-and-variants)
|
|
||||||
|
|
||||||
#### Example
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"algo": "argon2id",
|
|
||||||
...
|
|
||||||
"pools": [
|
|
||||||
{
|
|
||||||
"url": "...",
|
|
||||||
"variant": 1,
|
|
||||||
...
|
|
||||||
}
|
|
||||||
],
|
|
||||||
...
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Mining algorithm negotiation
|
|
||||||
If your pool support [mining algorithm negotiation](https://github.com/xmrig/xmrig-proxy/issues/168) miner will choice proper variant automaticaly and if you choice wrong base algorithm you will see error message.
|
|
||||||
|
|
||||||
Pools with mining algorithm negotiation support.
|
|
||||||
* [www.hashvault.pro](https://www.hashvault.pro/)
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"algo": "chukwa/wrkz",
|
"algo": "chukwa",
|
||||||
"api": {
|
"api": {
|
||||||
"port": 0,
|
"port": 10000,
|
||||||
"access-token": null,
|
"access-token": null,
|
||||||
"id": null,
|
"id": null,
|
||||||
"worker-id": null,
|
"worker-id": null,
|
||||||
|
@ -11,22 +11,21 @@
|
||||||
"autosave": true,
|
"autosave": true,
|
||||||
"background": false,
|
"background": false,
|
||||||
"colors": true,
|
"colors": true,
|
||||||
"threads": "all",
|
"cpu-threads": "all",
|
||||||
|
"cpu-optimization": null,
|
||||||
"cpu-affinity": null,
|
"cpu-affinity": null,
|
||||||
"cpu-priority": null,
|
"priority": null,
|
||||||
"use-gpu": "CUDA",
|
"donate-level": 5,
|
||||||
"gpu-intensity": 50,
|
"log-file": null,
|
||||||
"donate-level": 1,
|
|
||||||
"log-file": "./log.txt",
|
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"url": "testnet.wrkz.work:5555",
|
"url": "stratum+tcp://trtl.muxdux.com:5555",
|
||||||
"user": "WrkzRNDQDwFCBynKPc459v3LDa1gEGzG3j962tMUBko1fw9xgdaS9mNiGMgA9s1q7hS1Z8SGRVWzcGc8Sh8xsvfZ6u2wJEtoZB",
|
"user": "TRTLuxUdNNphJcrVfH27HMZumtFuJrmHG8B5ky3tzuAcZk7UcEdis2dAQbaQ2aVVGnGEqPtvDhMgWjZdfq8HenxKPEkrR43K618",
|
||||||
"pass": "x",
|
"pass": "x",
|
||||||
"rig-id": null,
|
"rig-id": null,
|
||||||
"nicehash": false,
|
"nicehash": false,
|
||||||
"keepalive": true,
|
"keepalive": false,
|
||||||
"variant": "wrkz",
|
"variant": "chukwa",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"tls": false,
|
"tls": false,
|
||||||
"tls-fingerprint": null
|
"tls-fingerprint": null
|
||||||
|
@ -35,7 +34,28 @@
|
||||||
"print-time": 60,
|
"print-time": 60,
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"retry-pause": 5,
|
"retry-pause": 5,
|
||||||
"safe": false,
|
|
||||||
"user-agent": null,
|
"user-agent": null,
|
||||||
"watch": true
|
"syslog": false,
|
||||||
}
|
"watch": true,
|
||||||
|
"use-gpu": [
|
||||||
|
"OPENCL",
|
||||||
|
"CUDA"
|
||||||
|
],
|
||||||
|
"gpu-intensity": [
|
||||||
|
50.0
|
||||||
|
],
|
||||||
|
"gpu-filter": [
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "AMD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "Radeon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "Advanced Micro Devices"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
|
@ -33,9 +33,9 @@ namespace xmrig {
|
||||||
const static char *default_config =
|
const static char *default_config =
|
||||||
R"===(
|
R"===(
|
||||||
{
|
{
|
||||||
"algo": "argon2",
|
"algo": "chukwa",
|
||||||
"api": {
|
"api": {
|
||||||
"port": 0,
|
"port": 10000,
|
||||||
"access-token": null,
|
"access-token": null,
|
||||||
"id": null,
|
"id": null,
|
||||||
"worker-id": null,
|
"worker-id": null,
|
||||||
|
@ -45,21 +45,22 @@ R"===(
|
||||||
"autosave": true,
|
"autosave": true,
|
||||||
"background": false,
|
"background": false,
|
||||||
"colors": true,
|
"colors": true,
|
||||||
|
"cpu-threads": "all",
|
||||||
|
"cpu-optimization": null,
|
||||||
"cpu-affinity": null,
|
"cpu-affinity": null,
|
||||||
"cpu-priority": null,
|
"priority": null,
|
||||||
"donate-level": 5,
|
"donate-level": 5,
|
||||||
"huge-pages": true,
|
|
||||||
"log-file": null,
|
"log-file": null,
|
||||||
"max-cpu-usage": 100,
|
|
||||||
"pools": [
|
"pools": [
|
||||||
{
|
{
|
||||||
"url": "donate.v2.xmrig.com:3333",
|
"url": "stratum+tcp://trtl.muxdux.com:5555",
|
||||||
"user": "YOUR_WALLET_ADDRESS",
|
"user": "TRTLuxUdNNphJcrVfH27HMZumtFuJrmHG8B5ky3tzuAcZk7UcEdis2dAQbaQ2aVVGnGEqPtvDhMgWjZdfq8HenxKPEkrR43K618",
|
||||||
"pass": "x",
|
"pass": "x",
|
||||||
"rig-id": null,
|
"rig-id": null,
|
||||||
"nicehash": false,
|
"nicehash": false,
|
||||||
"keepalive": false,
|
"keepalive": false,
|
||||||
"variant": -1,
|
"variant": "chukwa",
|
||||||
|
"enabled": true,
|
||||||
"tls": false,
|
"tls": false,
|
||||||
"tls-fingerprint": null
|
"tls-fingerprint": null
|
||||||
}
|
}
|
||||||
|
@ -67,10 +68,30 @@ R"===(
|
||||||
"print-time": 60,
|
"print-time": 60,
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"retry-pause": 5,
|
"retry-pause": 5,
|
||||||
"safe": false,
|
|
||||||
"threads": null,
|
|
||||||
"user-agent": null,
|
"user-agent": null,
|
||||||
"watch": false
|
"syslog": false,
|
||||||
|
"watch": true,
|
||||||
|
"use-gpu": [
|
||||||
|
"OPENCL",
|
||||||
|
"CUDA"
|
||||||
|
],
|
||||||
|
"gpu-intensity": [
|
||||||
|
50.0
|
||||||
|
],
|
||||||
|
"gpu-filter": [
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "AMD"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "Radeon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"engine": "OPENCL",
|
||||||
|
"filter": "Advanced Micro Devices"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
)===";
|
)===";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue