Skip to content

Commit

Permalink
XEQ algo update
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed May 29, 2024
1 parent aa4b3fb commit 44d2378
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions lib/coins/xmr.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const port2algo = {
// "34568": "rx/wow", // Wownero
"38081": "cn/half", // MSR
"48782": "argon2/chukwav2", // Lethean
"9231" : "cn/gpu", // XEQ
"9231" : "rx/xeq", // XEQ
"20206": "astrobwt/v2", // DERO
// "18181": "cn/0", // XMC
"16000": "cn/gpu", // CCX
Expand Down Expand Up @@ -1019,7 +1019,9 @@ function Coin(data){

if ("panthera" in algos_perf) coin_perf["XLA"] = algos_perf["panthera"];

if ("cn/gpu" in algos_perf) coin_perf["RYO"] = coin_perf["CCX"] = coin_perf["XEQ"] = algos_perf["cn/gpu"];
if ("cn/gpu" in algos_perf) coin_perf["RYO"] = coin_perf["CCX"] = algos_perf["cn/gpu"];

if ("rx/xeq" in algos_perf) coin_perf["XEQ"] = algos_perf["rx/xeq"];

// if ("rx/wow" in algos_perf) coin_perf["WOW"] = algos_perf["rx/wow"];

Expand Down Expand Up @@ -1089,7 +1091,7 @@ function Coin(data){
case 8545: return multiHashing.ethash(convertedBlob, Buffer.from(nonce, 'hex'), blockTemplate.height); // ETH
case 8645: return multiHashing.etchash(convertedBlob, Buffer.from(nonce, 'hex'), blockTemplate.height); // ETC
case 9053: return multiHashing.autolykos2_hashes(convertedBlob, blockTemplate.height); // ERG
case 9231 : return multiHashing.cryptonight(convertedBlob, 11); // XEQ
case 9231 : return multiHashing.randomx(convertedBlob, Buffer.from(blockTemplate.seed_hash, 'hex'), 22); // XEQ
//case 11181: return multiHashing.k12(convertedBlob); // Aeon
case 11898: return multiHashing.argon2(convertedBlob, 2); // TRTL
case 12211: return multiHashing.cryptonight(convertedBlob, 11); // RYO
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"cors": "^2.8.1",
"crypto-js": "^4.2.0",
"cryptoforknote-util": "git+https://github.com/MoneroOcean/node-cryptoforknote-util.git#v15.3.2",
"cryptonight-hashing": "git+https://github.com/MoneroOcean/node-cryptonight-hashing.git#v29.0.1",
"cryptonight-hashing": "git+https://github.com/MoneroOcean/node-cryptonight-hashing.git#v29.0.2",
"debug": "2.6.9",
"express": "^4.17.1",
"jsonwebtoken": "^9.0.2",
Expand Down

0 comments on commit 44d2378

Please sign in to comment.