Changes to embedded config file.
This commit is contained in:
parent
370cf7487b
commit
2e30f5f594
2 changed files with 32 additions and 42 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/)
|
|
@ -33,9 +33,9 @@ namespace xmrig {
|
|||
const static char *default_config =
|
||||
R"===(
|
||||
{
|
||||
"algo": "argon2",
|
||||
"algo": "chukwa",
|
||||
"api": {
|
||||
"port": 0,
|
||||
"port": 10000,
|
||||
"access-token": null,
|
||||
"id": null,
|
||||
"worker-id": null,
|
||||
|
@ -45,21 +45,22 @@ R"===(
|
|||
"autosave": true,
|
||||
"background": false,
|
||||
"colors": true,
|
||||
"cpu-threads": "all",
|
||||
"cpu-optimization": null,
|
||||
"cpu-affinity": null,
|
||||
"cpu-priority": null,
|
||||
"priority": null,
|
||||
"donate-level": 5,
|
||||
"huge-pages": true,
|
||||
"log-file": null,
|
||||
"max-cpu-usage": 100,
|
||||
"pools": [
|
||||
{
|
||||
"url": "donate.v2.xmrig.com:3333",
|
||||
"user": "YOUR_WALLET_ADDRESS",
|
||||
"url": "stratum+tcp://trtl.muxdux.com:5555",
|
||||
"user": "TRTLuxUdNNphJcrVfH27HMZumtFuJrmHG8B5ky3tzuAcZk7UcEdis2dAQbaQ2aVVGnGEqPtvDhMgWjZdfq8HenxKPEkrR43K618",
|
||||
"pass": "x",
|
||||
"rig-id": null,
|
||||
"nicehash": false,
|
||||
"keepalive": false,
|
||||
"variant": -1,
|
||||
"variant": "chukwa",
|
||||
"enabled": true,
|
||||
"tls": false,
|
||||
"tls-fingerprint": null
|
||||
}
|
||||
|
@ -67,10 +68,30 @@ R"===(
|
|||
"print-time": 60,
|
||||
"retries": 5,
|
||||
"retry-pause": 5,
|
||||
"safe": false,
|
||||
"threads": 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue