mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 14:52:52 -05:00
Changes for the Monero v1 PoW
This commit is contained in:
@@ -50,9 +50,9 @@ class JobResult;
|
||||
class CryptoNight
|
||||
{
|
||||
public:
|
||||
static bool hash(const Job &job, JobResult &result, cryptonight_ctx *ctx);
|
||||
static bool hash(const Job &job, JobResult &result, cryptonight_ctx *ctx, uint8_t version);
|
||||
static bool init(int algo, int variant);
|
||||
static void hash(const uint8_t *input, size_t size, uint8_t *output, cryptonight_ctx *ctx);
|
||||
static bool hash(const uint8_t *input, size_t size, uint8_t *output, cryptonight_ctx *ctx, uint8_t version);
|
||||
|
||||
private:
|
||||
static bool selfTest(int algo);
|
||||
|
||||
Reference in New Issue
Block a user