1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-18 13:22:50 -05:00

KawPow: reduced stale/expired shares

This commit is contained in:
SChernykh
2020-05-31 18:22:21 +02:00
parent 95ef32c913
commit 9cbdb7f1f2
22 changed files with 218 additions and 104 deletions

View File

@@ -40,9 +40,12 @@ public:
protected:
bool run(uint32_t startNonce, uint32_t *rescount, uint32_t *resnonce) override;
bool set(const Job &job, uint8_t *blob) override;
size_t processedHashes() const override { return intensity() - m_skippedHashes; }
void jobEarlyNotification(const Job&) override;
private:
uint8_t* m_jobBlob;
uint8_t* m_jobBlob = nullptr;
uint32_t m_skippedHashes = 0;
};