Skip to content

Commit

Permalink
Updated some files (since they were moved)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teredic committed May 7, 2020
1 parent 3968d95 commit 6e6f64a
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 907 deletions.
1 change: 0 additions & 1 deletion src/backend/cpu/CpuWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

#ifdef XMRIG_ALGO_RANDOMX
# include "crypto/randomx/randomx.h"
# include "crypto/defyx/defyx.h"
#endif


Expand Down
8 changes: 8 additions & 0 deletions src/base/crypto/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ static AlgoName const algorithm_names[] = {
{ "RandomSFX", nullptr, Algorithm::RX_SFX },
{ "randomx/keva", "rx/keva", Algorithm::RX_KEVA },
{ "RandomKEVA", nullptr, Algorithm::RX_KEVA },
{ "DefyX", "defyx", Algorithm::DEFYX },
{ "Panthera", "panthera", Algorithm::RX_XLA },
# endif
# ifdef XMRIG_ALGO_ARGON2
{ "argon2/chukwa", nullptr, Algorithm::AR2_CHUKWA },
Expand Down Expand Up @@ -152,6 +154,8 @@ size_t xmrig::Algorithm::l2() const

case RX_WOW:
case RX_KEVA:
case DEFYX:
case RX_XLA:
return 0x20000;

case RX_ARQ:
Expand Down Expand Up @@ -203,6 +207,8 @@ size_t xmrig::Algorithm::l3() const
return oneMiB;

case RX_ARQ:
case DEFYX:
case RX_XLA:
return oneMiB / 4;

default:
Expand Down Expand Up @@ -317,6 +323,8 @@ xmrig::Algorithm::Family xmrig::Algorithm::family(Id id)
case RX_ARQ:
case RX_SFX:
case RX_KEVA:
case DEFYX:
case RX_XLA:
return RANDOM_X;
# endif

Expand Down
2 changes: 2 additions & 0 deletions src/base/crypto/Algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ class Algorithm
AR2_CHUKWA, // "argon2/chukwa" Argon2id (Chukwa).
AR2_WRKZ, // "argon2/wrkz" Argon2id (WRKZ)
ASTROBWT_DERO, // "astrobwt" AstroBWT (Dero)
DEFYX, // "defyx" DefyX (Scala).
RX_XLA, // "rx/xla" Panthera (Scala).
MAX
};

Expand Down
335 changes: 0 additions & 335 deletions src/crypto/common/Algorithm.cpp

This file was deleted.

Loading

0 comments on commit 6e6f64a

Please sign in to comment.