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_ARQ;
static const char *kRX_GRAFT; static const char *kRX_GRAFT;
static const char *kRX_SFX; static const char *kRX_SFX;
static const char *kRX_YADA;
# endif # endif
# ifdef XMRIG_ALGO_ARGON2 # ifdef XMRIG_ALGO_ARGON2

View file

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

View file

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

View file

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