mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-31 16:21:49 +00:00
11 lines
339 B
C
11 lines
339 B
C
#ifndef __FINDNONCE_H__
|
|
#define __FINDNONCE_H__
|
|
#include "miner.h"
|
|
|
|
#define MAXTHREADS (0xFFFFFFFF)
|
|
#define BUFFERSIZE (sizeof(uint32_t) * 128)
|
|
|
|
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 start);
|
|
#endif /*__FINDNONCE_H__*/
|