Integrated thread based double hash mode
This commit is contained in:
parent
db91ccb1f4
commit
e264c5f8b5
17 changed files with 161 additions and 134 deletions
|
@ -50,9 +50,9 @@ class JobResult;
|
|||
class CryptoNight
|
||||
{
|
||||
public:
|
||||
static bool hash(const Job &job, JobResult &result, cryptonight_ctx *ctx);
|
||||
static void hash(const uint8_t* input, size_t size, uint8_t* output, cryptonight_ctx* ctx);
|
||||
static bool init(int algo, int variant);
|
||||
static void hash(const uint8_t *input, size_t size, uint8_t *output, cryptonight_ctx *ctx);
|
||||
static void hashDouble(const uint8_t* input, size_t size, uint8_t* output, cryptonight_ctx* ctx);
|
||||
|
||||
private:
|
||||
static bool selfTest(int algo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue