Use machine friendly test data for cn/r and cn/wow algorithms.
This commit is contained in:
parent
4ebfc135e0
commit
f2574c2a41
5 changed files with 95 additions and 86 deletions
|
@ -5,7 +5,8 @@
|
|||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
||||
* Copyright 2016-2018 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
||||
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,8 +22,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __IWORKER_H__
|
||||
#define __IWORKER_H__
|
||||
#ifndef XMRIG_IWORKER_H
|
||||
#define XMRIG_IWORKER_H
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
|
@ -31,7 +32,7 @@
|
|||
class IWorker
|
||||
{
|
||||
public:
|
||||
virtual ~IWorker() {}
|
||||
virtual ~IWorker() = default;
|
||||
|
||||
virtual bool selfTest() = 0;
|
||||
virtual size_t id() const = 0;
|
||||
|
@ -41,4 +42,4 @@ public:
|
|||
};
|
||||
|
||||
|
||||
#endif // __IWORKER_H__
|
||||
#endif // XMRIG_IWORKER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue