1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 22:12:53 -05:00
This commit is contained in:
MoneroOcean
2019-12-21 18:18:26 -08:00
48 changed files with 970 additions and 454 deletions

View File

@@ -113,7 +113,10 @@ static AlgoName const algorithm_names[] = {
{ "DefyX", "defyx", Algorithm::DEFYX },
{ "randomx/arq", "rx/arq", Algorithm::RX_ARQ },
{ "RandomARQ", nullptr, Algorithm::RX_ARQ },
{ "RandomV", "rx/v", Algorithm::RX_V },
{ "randomx/sfx", "rx/sfx", Algorithm::RX_SFX },
{ "RandomSFX", nullptr, Algorithm::RX_SFX },
{ "randomx/v", "rx/v", Algorithm::RX_V },
{ "RandomV", nullptr, Algorithm::RX_V },
# endif
# ifdef XMRIG_ALGO_ARGON2
{ "argon2/chukwa", nullptr, Algorithm::AR2_CHUKWA },
@@ -141,6 +144,8 @@ size_t xmrig::Algorithm::l2() const
case RX_0:
case RX_V:
case RX_LOKI:
case RX_SFX:
case RX_V:
return 0x40000;
case RX_WOW:
@@ -180,6 +185,8 @@ size_t xmrig::Algorithm::l3() const
case RX_0:
case RX_V:
case RX_LOKI:
case RX_SFX:
case RX_V:
return oneMiB * 2;
case RX_WOW:
@@ -284,6 +291,8 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id)
case RX_LOKI:
case DEFYX:
case RX_ARQ:
case RX_SFX:
case RX_V:
return RANDOM_X;
# endif