1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 14:28:12 +00:00
sgminer/findnonce.h
djm34 c0d9d74729 Lyra2RE
lyra2/skein256/keccak256/groestl256/blake256 (+ logic for precalulation)
2014-12-11 23:11:42 +01:00

15 lines
470 B
C

#ifndef FINDNONCE_H
#define FINDNONCE_H
#include "miner.h"
#include "config.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);
extern void precalc_hash_blake256(dev_blk_ctx *blk, uint32_t *state, uint32_t *data);
#endif /*FINDNONCE_H*/