From 484253bf68ecddba6f82796b163469dbca31b7c3 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 20 Jul 2019 20:57:37 +0700 Subject: [PATCH] Updated algorithms descriptions. --- doc/ALGORITHMS.md | 27 +++++++++++++++++++++++++++ src/crypto/common/Algorithm.h | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/ALGORITHMS.md b/doc/ALGORITHMS.md index cc112e5c..9272ae81 100644 --- a/doc/ALGORITHMS.md +++ b/doc/ALGORITHMS.md @@ -20,3 +20,30 @@ Since version 3 mining algorithm should specified for each pool separately (`alg * [www.hashvault.pro](https://www.hashvault.pro/) * [moneroocean.stream](https://moneroocean.stream) + + ## Algorithm names + +| Name | Memory | Notes | +|-----------------|--------|--------------------------------------------------------------------------------------| +| `cn/0` | 2 MB | CryptoNight (original) | +| `cn/1` | 2 MB | CryptoNight variant 1 also known as `Monero7` and `CryptoNightV7`. | +| `cn/2` | 2 MB | CryptoNight variant 2. | +| `cn/r` | 2 MB | CryptoNightR (Monero's variant 4). | +| `cn/wow` | 2 MB | CryptoNightR (Wownero). | +| `cn/fast` | 2 MB | CryptoNight variant 1 with half iterations. | +| `cn/half` | 2 MB | CryptoNight variant 2 with half iterations (Masari/Torque) | +| `cn/xao` | 2 MB | CryptoNight variant 0 (modified, Alloy only) | +| `cn/rto` | 2 MB | CryptoNight variant 1 (modified, Arto only) | +| `cn/rwz` | 2 MB | CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation (Graft). | +| `cn/zls` | 2 MB | CryptoNight variant 2 with 3/4 iterations (Zelerius). | +| `cn/double` | 2 MB | CryptoNight variant 2 with double iterations (X-CASH). | +| `cn/gpu` | 2 MB | CryptoNight-GPU (RYO). | +| `cn-lite/0` | 1 MB | CryptoNight-Lite variant 0. | +| `cn-lite/1` | 1 MB | CryptoNight-Lite variant 1. | +| `cn-heavy/0` | 4 MB | CryptoNight-Heavy . | +| `cn-heavy/xhv` | 4 MB | CryptoNight-Heavy (modified, TUBE only). | +| `cn-heavy/tube` | 4 MB | CryptoNight-Heavy (modified, Haven Protocol only). | +| `cn-pico` | 256 KB | TurtleCoin (TRTL) | +| `rx/0` | 2 MB | RandomX (reference configuration), reserved for future use. | +| `rx/wow` | 1 MB | RandomWOW (Wownero). | +| `rx/loki` | 2 MB | RandomXL (Loki). | \ No newline at end of file diff --git a/src/crypto/common/Algorithm.h b/src/crypto/common/Algorithm.h index a1d8ded2..3c44ec56 100644 --- a/src/crypto/common/Algorithm.h +++ b/src/crypto/common/Algorithm.h @@ -41,7 +41,7 @@ class Algorithm public: enum Id : int { INVALID = -1, - CN_0, // "cn/0" Original CryptoNight + CN_0, // "cn/0" CryptoNight (original) CN_1, // "cn/1" CryptoNight variant 1 also known as Monero7 and CryptoNightV7 CN_2, // "cn/2" CryptoNight variant 2 CN_R, // "cn/r" CryptoNightR (Monero's variant 4)