mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
365 B
13 lines
365 B
#ifndef FINDNONCE_H |
|
#define FINDNONCE_H |
|
|
|
#include "miner.h" |
|
|
|
#define MAXTHREADS (0xFFFFFFFEULL) |
|
#define MAXBUFFERS (0x100) |
|
#define BUFFERSIZE (sizeof(uint32_t) * MAXBUFFERS) |
|
|
|
extern void precalc_hash(dev_blk_ctx *blk, uint32_t *state, uint32_t *data); |
|
extern void postcalc_hash_async(struct thr_info *thr, struct work *work, uint32_t *res); |
|
|
|
#endif /*FINDNONCE_H*/
|
|
|