"GET /1/threads" replaced to "GET /2/backends".
This commit is contained in:
parent
fa2c9df075
commit
1d78e7d60d
10 changed files with 159 additions and 58 deletions
|
@ -74,6 +74,17 @@ static const char *tag = BLUE_BG(" rx ");
|
|||
} // namespace xmrig
|
||||
|
||||
|
||||
|
||||
xmrig::RxDataset *xmrig::Rx::dataset()
|
||||
{
|
||||
d_ptr->lock();
|
||||
RxDataset *dataset = d_ptr->dataset;
|
||||
d_ptr->unlock();
|
||||
|
||||
return dataset;
|
||||
}
|
||||
|
||||
|
||||
xmrig::RxDataset *xmrig::Rx::dataset(const uint8_t *seed, const Algorithm &algorithm, bool hugePages)
|
||||
{
|
||||
d_ptr->lock();
|
||||
|
|
|
@ -42,6 +42,7 @@ class RxDataset;
|
|||
class Rx
|
||||
{
|
||||
public:
|
||||
static RxDataset *dataset();
|
||||
static RxDataset *dataset(const uint8_t *seed, const Algorithm &algorithm, bool hugePages = true);
|
||||
static void stop();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue