From f78479b34ee6237ecd368a162e18dfc90c9353d2 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 20 Feb 2022 12:57:08 -0500 Subject: [PATCH] Get randomx flags and allocate cache --- src/miner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/miner.cpp b/src/miner.cpp index 50480e821..aabc50627 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1134,6 +1134,8 @@ void static RandomXMiner() hashTarget = HASHTarget; // TODO: RandomX solver code + randomx_flags flags = randomx_get_flags(); + randomx_cache *myCache = randomx_alloc_cache(flags); }