1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-11 17:32:47 -05:00

Added "coin": "keva" and post PR cleanup.

This commit is contained in:
XMRig
2020-03-07 20:38:44 +07:00
parent ab90af37b3
commit 1f36ea2a8e
6 changed files with 5674 additions and 5665 deletions

View File

@@ -52,6 +52,7 @@ static CoinName const coin_names[] = {
{ "arqma", Coin::ARQMA },
{ "arq", Coin::ARQMA },
{ "dero", Coin::DERO },
{ "keva", Coin::KEVA }
};
@@ -71,6 +72,9 @@ xmrig::Algorithm::Id xmrig::Coin::algorithm(uint8_t blobVersion) const
case DERO:
return (blobVersion >= 4) ? Algorithm::ASTROBWT_DERO : Algorithm::CN_0;
case KEVA:
return (blobVersion >= 11) ? Algorithm::RX_KEVA : Algorithm::CN_R;
case INVALID:
break;
}

View File

@@ -41,7 +41,8 @@ public:
INVALID = -1,
MONERO,
ARQMA,
DERO
DERO,
KEVA
};