mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -05:00
Make single thread bench cheat-resistant
Each hash is dependent on the previous hash to make multi-threaded cheating impossible.
This commit is contained in:
@@ -39,6 +39,7 @@ namespace xmrig {
|
||||
|
||||
|
||||
class ICudaRunner;
|
||||
class Config;
|
||||
|
||||
|
||||
class CudaWorker : public Worker
|
||||
@@ -58,7 +59,7 @@ public:
|
||||
protected:
|
||||
bool selfTest() override;
|
||||
size_t intensity() const override;
|
||||
void start() override;
|
||||
void start(Config*) override;
|
||||
|
||||
private:
|
||||
bool consumeJob();
|
||||
|
||||
Reference in New Issue
Block a user