Added class RxVm.
This commit is contained in:
parent
3bebf778da
commit
270d3ba6a2
8 changed files with 176 additions and 40 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue