diff --git a/doc/ALGORITHMS.md b/doc/ALGORITHMS.md index f4a01e26..835a1d49 100644 --- a/doc/ALGORITHMS.md +++ b/doc/ALGORITHMS.md @@ -7,8 +7,24 @@ 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 +## 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.