Trim pool repo to supported Peya ecosystem coins
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 36s
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 36s
This commit is contained in:
@@ -133,36 +133,6 @@
|
||||
</thead>
|
||||
<tbody id="miningApps_rows">
|
||||
|
||||
<!-- XMR Stak -->
|
||||
<tr class="appInfo">
|
||||
<td class="miningAppTitle">XMR Stak</td>
|
||||
<td>CPU & GPU (AMD/NVIDIA)</td>
|
||||
<td>Easy to use CPU + GPU Mining App</td>
|
||||
<td><a class="btn btn-success" target="_blank" href="https://github.com/fireice-uk/xmr-stak/releases/latest"><span data-tkey="download">Download</span></a></td>
|
||||
<td><a class="btn btn-default" role="button" data-toggle="collapse" href="#xmrstak" aria-expanded="true" aria-controls="collapseExample"><span data-tkey="showConfig">See more</span></a></td>
|
||||
</tr>
|
||||
<tr class="appConfig">
|
||||
<td colspan="5">
|
||||
<div class="collapse" id="xmrstak">
|
||||
|
||||
<pre><code>"pool_list": [
|
||||
{
|
||||
"pool_address": "<span class="exampleHost">POOL_HOST</span>:<span class="examplePort">PORT</span>",
|
||||
"wallet_address": "<span class="exampleLogin">YOUR_WALLET_ADDRESS</span>",
|
||||
"rig_id": "",
|
||||
"pool_password": /* Solo Mining set [solo:] */"<span class="examplePassword">YOUR_WORKER_NAME</span>",
|
||||
"use_nicehash": false,
|
||||
"use_tls": false, /* Set to true if you are using an SSL port */
|
||||
"tls_fingerprint": "",
|
||||
"pool_weight": 1
|
||||
},
|
||||
],
|
||||
"currency": "<span id="xmrstakAlgo"></span>",</code></pre>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- XMRig -->
|
||||
<tr class="appInfo">
|
||||
<td class="miningAppTitle">XMRig</td>
|
||||
@@ -321,111 +291,9 @@ currentPage = {
|
||||
updateText('paymentChildCoins', `${childCoins} wallet address`);
|
||||
if (!lastStats.config.fixedDiffEnabled) $('#fixedDiff').hide();
|
||||
|
||||
var coin = lastStats.config.coin.toLowerCase() || null;
|
||||
var cnAlgorithm = lastStats.config.cnAlgorithm || "cryptonight";
|
||||
var cnVariant = lastStats.config.cnVariant || 0;
|
||||
|
||||
algorithm = '';
|
||||
xmrstakAlgo = '';
|
||||
xmrigAlgo = '';
|
||||
|
||||
if (cnAlgorithm == "argon2") {
|
||||
if (cnVariant === 1) {
|
||||
algorithm = 'Argon2id WRKZ';
|
||||
} else {
|
||||
algorithm = 'Argon2id Chukwa';
|
||||
}
|
||||
} else if (cnAlgorithm == "randomx") {
|
||||
if (cnVariant === 1) {
|
||||
algorithm = 'CryptoNight DefyX';
|
||||
} else if (cnVariant === 2) {
|
||||
algorithm = 'RandomARQ';
|
||||
xmrigAlgo = 'rx/arq';
|
||||
} else if (cnVariant === 17) {
|
||||
algorithm = 'RandomWOW';
|
||||
xmrstakAlgo = 'randomX_wow';
|
||||
xmrigAlgo = 'rx/wow';
|
||||
} else if (cnVariant === 18) {
|
||||
algorithm = 'RandomXL';
|
||||
xmrstakAlgo = 'randomX_loki';
|
||||
xmrigAlgo = 'rx/loki';
|
||||
} else {
|
||||
algorithm = 'RandomX';
|
||||
xmrstakAlgo = 'randomX';
|
||||
}
|
||||
} else if (cnAlgorithm == "cryptonight_light") {
|
||||
if (cnVariant === 1) {
|
||||
algorithm = 'CryptoNight Lite v7';
|
||||
xmrstakAlgo = 'cryptonight_lite_v7';
|
||||
xmrigAlgo = 'cn-lite/0';
|
||||
} else {
|
||||
algorithm = 'CryptoNight Lite';
|
||||
xmrstakAlgo = 'cryptonight_lite';
|
||||
xmrigAlgo = 'cn-lite/1';
|
||||
}
|
||||
} else if (cnAlgorithm == "cryptonight_pico") {
|
||||
algorithm = 'CryptoNight Turtle';
|
||||
xmrstakAlgo = 'cryptonight_turtle';
|
||||
xmrigAlgo = 'cn-pico';
|
||||
} else if (cnAlgorithm == "cryptonight_heavy") {
|
||||
if (cnVariant === 1) {
|
||||
algorithm = 'CryptoNight Haven';
|
||||
xmrstakAlgo = 'cryptonight_haven';
|
||||
xmrigAlgo = 'cn-heavy/xhv';
|
||||
} else if (cnVariant === 2) {
|
||||
algorithm = 'CryptoNight Saber';
|
||||
xmrstakAlgo = 'cryptonight_bittube2';
|
||||
xmrigAlgo = 'cn-heavy/tube';
|
||||
} else {
|
||||
algorithm = 'CryptoNight Heavy';
|
||||
xmrstakAlgo = 'cryptonight_heavy';
|
||||
xmrigAlgo = 'cn-heavy/0';
|
||||
}
|
||||
} else {
|
||||
if (cnVariant === 1) {
|
||||
algorithm = 'CryptoNight v7';
|
||||
xmrstakAlgo = 'cryptonight_v7';
|
||||
xmrigAlgo = 'cn/1';
|
||||
} else if (cnVariant === 4) {
|
||||
algorithm = 'CryptoNight Fast';
|
||||
xmrstakAlgo = 'cryptonight_masari';
|
||||
xmrigAlgo = 'cn/fast';
|
||||
} else if (cnVariant === 6) {
|
||||
algorithm = 'CryptoNight Alloy';
|
||||
xmrstakAlgo = 'cryptonight_alloy';
|
||||
} else if (cnVariant === 7) {
|
||||
algorithm = 'CryptoNight Arto';
|
||||
xmrstakAlgo = 'cryptonight_arto';
|
||||
} else if (cnVariant === 8) {
|
||||
algorithm = 'CryptoNight v8';
|
||||
xmrstakAlgo = 'cryptonight_v8';
|
||||
} else if (cnVariant === 9) {
|
||||
algorithm = 'CryptoNight v8 Half';
|
||||
xmrstakAlgo = 'cryptonight_v8_half';
|
||||
} else if (cnVariant === 11) {
|
||||
algorithm = 'CryptoNight GPU';
|
||||
xmrstakAlgo = 'cryptonight_gpu';
|
||||
} else if (cnVariant === 13) {
|
||||
algorithm = 'CryptoNight R';
|
||||
xmrstakAlgo = 'cryptonight_r';
|
||||
xmrigAlgo = 'cn/r';
|
||||
} else if (cnVariant === 14) {
|
||||
algorithm = 'CryptoNight v8 ReverseWaltz';
|
||||
xmrstakAlgo = 'cryptonight_v8_reversewaltz';
|
||||
} else if (cnVariant === 15) {
|
||||
algorithm = 'CryptoNight Zelerius';
|
||||
xmrstakAlgo = 'cryptonight_v8_zelerius';
|
||||
xmrigAlgo = 'cn/zls';
|
||||
} else if (cnVariant === 16) {
|
||||
algorithm = 'CryptoNight v8 Double';
|
||||
xmrstakAlgo = 'cryptonight_v8_double';
|
||||
xmrigAlgo = 'cn/double';
|
||||
} else {
|
||||
algorithm = 'CryptoNight';
|
||||
xmrstakAlgo = 'cryptonight';
|
||||
xmrigAlgo = 'cn/2';
|
||||
}
|
||||
}
|
||||
var algorithm = 'RandomX';
|
||||
var xmrstakAlgo = '';
|
||||
var xmrigAlgo = 'rx/0';
|
||||
|
||||
updateText('cnAlgorithm', algorithm);
|
||||
updateText('xmrstakAlgo', xmrstakAlgo);
|
||||
@@ -470,4 +338,3 @@ $('#generateConf').click(function() {
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user