Integrated RandomX, added RandomXL (Loki)

This commit is contained in:
SChernykh
2019-07-01 20:11:51 +02:00
parent 900d6967b4
commit 7d10b6b71f
78 changed files with 9870 additions and 36 deletions

View File

@@ -77,7 +77,7 @@ public:
# endif
# ifdef XMRIG_ALGO_RANDOMX
static void updateDataset(const uint8_t* seed_hash, uint32_t num_threads);
static void updateDataset(const uint8_t* seed_hash, xmrig::Variant variant, uint32_t num_threads);
static randomx_dataset* getDataset();
# endif
@@ -131,6 +131,7 @@ private:
static randomx_cache *m_rx_cache;
static randomx_dataset *m_rx_dataset;
static uint8_t m_rx_seed_hash[32];
static xmrig::Variant m_rx_variant;
static std::atomic<uint32_t> m_rx_dataset_init_thread_counter;
# endif
};