mirror of
https://github.com/wownero/RandomX.git
synced 2026-10-19 00:08:45 +02:00
randomx_cache and randomx_dataset changed to standard-layout structs
This commit is contained in:
@@ -25,6 +25,7 @@ namespace randomx {
|
||||
|
||||
template<class Allocator, bool softAes>
|
||||
void CompiledLightVm<Allocator, softAes>::setCache(randomx_cache* cache) {
|
||||
cachePtr = cache;
|
||||
mem.memory = cache->memory;
|
||||
compiler.generateSuperscalarHash(cache->programs, cache->reciprocalCache);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user