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:
parent
0d3c2752c9
commit
c10ec90b60
11 changed files with 43 additions and 15 deletions
|
@ -43,6 +43,7 @@ namespace xmrig {
|
|||
|
||||
|
||||
class RxVm;
|
||||
class Config;
|
||||
|
||||
|
||||
template<size_t N>
|
||||
|
@ -56,7 +57,7 @@ public:
|
|||
|
||||
protected:
|
||||
bool selfTest() override;
|
||||
void start() override;
|
||||
void start(Config*) override;
|
||||
|
||||
inline const VirtualMemory *memory() const override { return m_memory; }
|
||||
inline size_t intensity() const override { return N; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue