|
@@ -1156,6 +1156,7 @@ extern enum test_nonce2_result _test_nonce2(struct work *, uint32_t nonce, bool
|
|
|
#define test_nonce2(work, nonce) (_test_nonce2(work, nonce, true))
|
|
#define test_nonce2(work, nonce) (_test_nonce2(work, nonce, true))
|
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
|
extern struct work *get_queued(struct cgpu_info *cgpu);
|
|
extern struct work *get_queued(struct cgpu_info *cgpu);
|
|
|
|
|
+extern struct work *find_work(struct cgpu_info *cgpu, char *midstate, size_t midstatelen, char *data, int offset, size_t datalen);
|
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
|
extern bool abandon_work(struct work *, struct timeval *work_runtime, uint64_t hashes);
|
|
extern bool abandon_work(struct work *, struct timeval *work_runtime, uint64_t hashes);
|
|
|
extern void hash_queued_work(struct thr_info *mythr);
|
|
extern void hash_queued_work(struct thr_info *mythr);
|