finish updating for yadacoin

This commit is contained in:
Matthew Vogel 2024-08-01 00:01:09 -07:00
parent 5342f25fbf
commit 046b2a17d3
4 changed files with 4 additions and 2 deletions

View File

@ -143,6 +143,7 @@ public:
static const char *kRX_ARQ;
static const char *kRX_GRAFT;
static const char *kRX_SFX;
static const char *kRX_YADA;
# endif
# ifdef XMRIG_ALGO_ARGON2

View File

@ -40,8 +40,8 @@ public:
WOWNERO,
ZEPHYR,
TOWNFORGE,
MAX,
YADA,
MAX
};
static const char *kDisabled;

View File

@ -111,6 +111,7 @@ RandomX_ConfigurationBase::RandomX_ConfigurationBase()
: ArgonIterations(3)
, ArgonLanes(1)
, ArgonSalt("RandomX\x03")
, SuperscalarLatency(170)
, ScratchpadL1_Size(16384)
, ScratchpadL2_Size(262144)
, ScratchpadL3_Size(2097152)

View File

@ -69,7 +69,6 @@ struct RandomX_ConfigurationBase
{
ArgonMemory = 262144,
CacheAccesses = 8,
SuperscalarLatency = 170,
DatasetBaseSize = 2147483648,
DatasetExtraSize = 33554368,
JumpBits = 8,
@ -82,6 +81,7 @@ struct RandomX_ConfigurationBase
uint32_t ArgonIterations;
uint32_t ArgonLanes;
const char* ArgonSalt;
uint32_t SuperscalarLatency;
uint32_t ScratchpadL1_Size;
uint32_t ScratchpadL2_Size;