mirror of
https://github.com/wownero/RandomX.git
synced 2026-11-11 10:34:00 +01:00
randomx_cache and randomx_dataset changed to standard-layout structs
This commit is contained in:
@@ -44,7 +44,10 @@ protected:
|
||||
alignas(16) randomx::ProgramConfiguration config;
|
||||
randomx::MemoryRegisters mem;
|
||||
uint8_t* scratchpad;
|
||||
uint8_t* datasetBasePtr;
|
||||
union {
|
||||
randomx_cache* cachePtr = nullptr;
|
||||
randomx_dataset* datasetPtr;
|
||||
};
|
||||
uint32_t datasetOffset;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user