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

@ -58,7 +58,7 @@ protected:
private:
constexpr static int kTickInterval = 1 * 1000;
void setJob(Client *client, const Job &job);
void setJob(Client *client, const Job &job, bool donate);
void tick();
static void onTick(uv_timer_t *handle);