mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Implemented switch to donate pool.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <uv.h>
|
||||
|
||||
|
||||
#include "interfaces/IClientListener.h"
|
||||
@@ -53,12 +54,17 @@ protected:
|
||||
|
||||
private:
|
||||
void addPool(const Url *url);
|
||||
void startDonate();
|
||||
void stopDonate();
|
||||
|
||||
static void onTimer(uv_timer_t *handle);
|
||||
|
||||
bool m_donate;
|
||||
char *m_agent;
|
||||
const Options *m_options;
|
||||
int m_pool;
|
||||
std::vector<Client*> m_pools;
|
||||
uv_timer_t m_timer;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user