Changed init signature.
This commit is contained in:
parent
a8e86c3530
commit
044fbd7e82
4 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue