1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00
sgminer/algorithm/decred.h

11 lines
351 B
C
Raw Normal View History

2016-03-21 16:34:35 +00:00
#ifndef DECRED_H
#define DECRED_H
#include "miner.h"
extern int decred_test(unsigned char *pdata, const unsigned char *ptarget, uint32_t nonce);
extern void decred_prepare_work(dev_blk_ctx *blk, uint32_t *state, uint32_t *pdata);
extern void decred_midstate(struct work *work);
extern void decred_regenhash(struct work *work);
#endif /* DECRED_H */