findnonce.h 339 B

12345678910
  1. #ifndef __FINDNONCE_H__
  2. #define __FINDNONCE_H__
  3. #include "miner.h"
  4. #define MAXTHREADS (0xFFFFFFFF)
  5. #define BUFFERSIZE (sizeof(uint32_t) * 128)
  6. extern void precalc_hash(dev_blk_ctx *blk, uint32_t *state, uint32_t *data);
  7. extern void postcalc_hash_async(struct thr_info *thr, struct work *work, uint32_t start);
  8. #endif /*__FINDNONCE_H__*/