mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-06 00:17:39 +00:00
31 lines
999 B
Markdown
31 lines
999 B
Markdown
# Algorithms
|
|
|
|
XMRig 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: `cryptonight`, `cryptonight-lite`, `cryptonight-heavy`.
|
|
* 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": "cryptonight",
|
|
...
|
|
"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/)
|