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
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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;
}