|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
#ifdef USE_SCRYPT |
|
|
|
|
extern bool scrypt_test(unsigned char *pdata, const unsigned char *ptarget, |
|
|
|
|
uint32_t nonce); |
|
|
|
|
extern void scrypt_outputhash(struct work *work); |
|
|
|
|
extern void scrypt_regenhash(struct work *work); |
|
|
|
|
|
|
|
|
|
#else /* USE_SCRYPT */ |
|
|
|
|
static inline bool scrypt_test(__maybe_unused unsigned char *pdata, |
|
|
|
@ -16,7 +16,7 @@ static inline bool scrypt_test(__maybe_unused unsigned char *pdata,
@@ -16,7 +16,7 @@ static inline bool scrypt_test(__maybe_unused unsigned char *pdata,
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static inline void scrypt_outputhash(__maybe_unused struct work *work) |
|
|
|
|
static inline void scrypt_regenhash(__maybe_unused struct work *work) |
|
|
|
|
{ |
|
|
|
|
} |
|
|
|
|
#endif /* USE_SCRYPT */ |
|
|
|
|