Implemented DonateStrategy.

This commit is contained in:
XMRig 2017-06-30 03:20:50 +03:00
parent 25faeabd61
commit 7e17f77c11
8 changed files with 88 additions and 37 deletions

View file

@ -40,8 +40,10 @@ public:
SinglePoolStrategy(const Url *url, const char *agent, IStrategyListener *listener);
public:
bool isActive() const override;
inline bool isActive() const override { return m_active; }
void connect() override;
void resume() override;
void submit(const JobResult &result) override;
protected: