1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 00:33:33 -05:00

Add classes SinglePoolStrategy, DonateStrategy, IStrategy, IStrategyListener.

This commit is contained in:
XMRig
2017-06-28 06:17:02 +03:00
parent b2d26eb019
commit bd8776b7ee
11 changed files with 414 additions and 108 deletions

View File

@@ -60,6 +60,7 @@ public:
void send(char *data);
void setUrl(const Url *url);
void submit(const JobResult &result);
inline bool isReady() const { return m_state == ConnectedState && m_failures == 0; }
inline const char *host() const { return m_url.host(); }
inline const Job &job() const { return m_job; }