Update ALGORITHMS.md

This commit is contained in:
xmrig 2019-07-20 20:14:34 +07:00 committed by GitHub
parent e2a5bfa0b4
commit c4388fa74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,14 @@
# Algorithms # Algorithms
XMRig uses a different way to specify algorithms, compared to other miners. Since version 3 mining algorithm should specified for each pool separately (`algo` option), earlier versions was use one global `algo` option and per pool `variant` option (this option was removed in v3). If your pool support [mining algorithm negotiation](https://github.com/xmrig/xmrig-proxy/issues/168) you may not specify this option at all.
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 #### Example
```json ```json
{ {
"algo": "cryptonight",
...
"pools": [ "pools": [
{ {
"url": "...", "url": "...",
"variant": 1, "algo": "cn/r",
... ...
} }
], ],
@ -24,8 +16,7 @@ Algorithm selection splitted to 2 parts:
} }
``` ```
## Mining algorithm negotiation #### Pools with mining algorithm negotiation support.
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/) * [www.hashvault.pro](https://www.hashvault.pro/)
* [moneroocean.stream](https://moneroocean.stream)