mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-18 20:02:44 -05:00
Changed init signature.
This commit is contained in:
@@ -52,12 +52,12 @@ public:
|
||||
inline const uint8_t *seed() const { return m_seed; }
|
||||
inline randomx_cache *get() const { return m_cache; }
|
||||
|
||||
bool init(const void *seed);
|
||||
bool init(const uint8_t *seed);
|
||||
|
||||
static inline constexpr size_t size() { return RANDOMX_CACHE_MAX_SIZE; }
|
||||
|
||||
private:
|
||||
bool isReady(const void *seed) const;
|
||||
bool isReady(const uint8_t *seed) const;
|
||||
|
||||
int m_flags = 0;
|
||||
randomx_cache *m_cache = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user