update algos

This commit is contained in:
Interchained
2021-01-14 03:15:23 -05:00
committed by GitHub
parent 62fdd35fcd
commit 708eeba5b2

View File

@@ -356,12 +356,15 @@ currentPage = {
algorithm = 'CryptoNight DefyX'; algorithm = 'CryptoNight DefyX';
else if (cnVariant === 2) else if (cnVariant === 2)
algorithm = 'RandomARQ'; algorithm = 'RandomARQ';
xmrigAlgo = 'rx/arq';
else if (cnVariant === 17) { else if (cnVariant === 17) {
algorithm = 'RandomWOW'; algorithm = 'RandomWOW';
xmrstakAlgo = 'randomX_wow'; xmrstakAlgo = 'randomX_wow';
xmrigAlgo = 'rx/wow';
} else if (cnVariant === 18) { } else if (cnVariant === 18) {
algorithm = 'RandomXL'; algorithm = 'RandomXL';
xmrstakAlgo = 'randomX_loki'; xmrstakAlgo = 'randomX_loki';
xmrigAlgo = 'rx/loki';
} else { } else {
algorithm = 'RandomX'; algorithm = 'RandomX';
xmrstakAlgo = 'randomX'; xmrstakAlgo = 'randomX';
@@ -370,28 +373,35 @@ currentPage = {
if (cnVariant === 1) { if (cnVariant === 1) {
algorithm = 'CryptoNight Lite v7'; algorithm = 'CryptoNight Lite v7';
xmrstakAlgo = 'cryptonight_lite_v7'; xmrstakAlgo = 'cryptonight_lite_v7';
xmrigAlgo = 'cn-lite/0';
} else { } else {
algorithm = 'CryptoNight Lite'; algorithm = 'CryptoNight Lite';
xmrstakAlgo = 'cryptonight_lite'; xmrstakAlgo = 'cryptonight_lite';
xmrigAlgo = 'cn-lite/1';
} }
} else if (cnAlgorithm == "cryptonight_pico") { } else if (cnAlgorithm == "cryptonight_pico") {
algorithm = 'CryptoNight Turtle'; algorithm = 'CryptoNight Turtle';
xmrstakAlgo = 'cryptonight_turtle'; xmrstakAlgo = 'cryptonight_turtle';
xmrigAlgo = 'cn-pico';
} else if (cnAlgorithm == "cryptonight_heavy") { } else if (cnAlgorithm == "cryptonight_heavy") {
if (cnVariant === 1) { if (cnVariant === 1) {
algorithm = 'CryptoNight Haven'; algorithm = 'CryptoNight Haven';
xmrstakAlgo = 'cryptonight_haven'; xmrstakAlgo = 'cryptonight_haven';
xmrigAlgo = 'cn-heavy/xhv';
} else if (cnVariant === 2) { } else if (cnVariant === 2) {
algorithm = 'CryptoNight Saber'; algorithm = 'CryptoNight Saber';
xmrstakAlgo = 'cryptonight_bittube2'; xmrstakAlgo = 'cryptonight_bittube2';
xmrigAlgo = 'cn-heavy/tube';
} else { } else {
algorithm = 'CryptoNight Heavy'; algorithm = 'CryptoNight Heavy';
xmrstakAlgo = 'cryptonight_heavy'; xmrstakAlgo = 'cryptonight_heavy';
xmrigAlgo = 'cn-heavy/0';
} }
} else { } else {
if (cnVariant === 1) { if (cnVariant === 1) {
algorithm = 'CryptoNight v7'; algorithm = 'CryptoNight v7';
xmrstakAlgo = 'cryptonight_v7'; xmrstakAlgo = 'cryptonight_v7';
xmrigAlgo = 'cn/1';
} else if (cnVariant === 4) { } else if (cnVariant === 4) {
algorithm = 'CryptoNight Fast'; algorithm = 'CryptoNight Fast';
xmrstakAlgo = 'cryptonight_masari'; xmrstakAlgo = 'cryptonight_masari';
@@ -414,18 +424,22 @@ currentPage = {
} else if (cnVariant === 13) { } else if (cnVariant === 13) {
algorithm = 'CryptoNight R'; algorithm = 'CryptoNight R';
xmrstakAlgo = 'cryptonight_r'; xmrstakAlgo = 'cryptonight_r';
xmrigAlgo = 'cn/r';
} else if (cnVariant === 14) { } else if (cnVariant === 14) {
algorithm = 'CryptoNight v8 ReverseWaltz'; algorithm = 'CryptoNight v8 ReverseWaltz';
xmrstakAlgo = 'cryptonight_v8_reversewaltz'; xmrstakAlgo = 'cryptonight_v8_reversewaltz';
} else if (cnVariant === 15) { } else if (cnVariant === 15) {
algorithm = 'CryptoNight Zelerius'; algorithm = 'CryptoNight Zelerius';
xmrstakAlgo = 'cryptonight_v8_zelerius'; xmrstakAlgo = 'cryptonight_v8_zelerius';
xmrigAlgo = 'cn/zls';
} else if (cnVariant === 16) { } else if (cnVariant === 16) {
algorithm = 'CryptoNight v8 Double'; algorithm = 'CryptoNight v8 Double';
xmrstakAlgo = 'cryptonight_v8_double'; xmrstakAlgo = 'cryptonight_v8_double';
xmrigAlgo = 'cn/double';
} else { } else {
algorithm = 'CryptoNight'; algorithm = 'CryptoNight';
xmrstakAlgo = 'cryptonight'; xmrstakAlgo = 'cryptonight
xmrigAlgo = 'cn/2';
} }
} }