Added class RxVm.
This commit is contained in:
@@ -27,11 +27,6 @@
|
||||
#define XMRIG_MULTIWORKER_H
|
||||
|
||||
|
||||
#ifdef XMRIG_ALGO_RANDOMX
|
||||
# include <randomx.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include "base/net/stratum/Job.h"
|
||||
#include "Mem.h"
|
||||
#include "net/JobResult.h"
|
||||
@@ -41,6 +36,9 @@
|
||||
namespace xmrig {
|
||||
|
||||
|
||||
class RxVm;
|
||||
|
||||
|
||||
template<size_t N>
|
||||
class MultiWorker : public Worker
|
||||
{
|
||||
@@ -81,7 +79,7 @@ private:
|
||||
uint8_t m_hash[N * 32];
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
randomx_vm *m_rx_vm = nullptr;
|
||||
RxVm *m_vm = nullptr;
|
||||
# endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user