DonateStrategy now use FailoverStrategy internally and possible to use any other IStrategy.

This commit is contained in:
XMRig 2018-03-17 14:33:30 +07:00
parent c46c019c83
commit 1cf1d616c6
13 changed files with 73 additions and 47 deletions

View file

@ -45,7 +45,7 @@ public:
static Job job();
static void printHashrate(bool detail);
static void setEnabled(bool enabled);
static void setJob(const Job &job);
static void setJob(const Job &job, bool donate);
static void start(int64_t affinity, int priority);
static void stop();
static void submit(const JobResult &result);