aboutsummaryrefslogtreecommitdiff
path: root/miner.h
diff options
context:
space:
mode:
authorArt Forz <artforz@dumbo.lan>2011-09-20 12:20:26 +0200
committerArt Forz <artforz@dumbo.lan>2011-09-20 12:20:26 +0200
commitac92e27c8e016bddd5e4c49e43ecd6244defeaf5 (patch)
tree3bf2ea7772d42cdc031b05be464aad11481230a2 /miner.h
parent602e31b96c9b94ed8e4acaa010622cb1aad2bd5e (diff)
add scrypt function
Diffstat (limited to 'miner.h')
-rw-r--r--miner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/miner.h b/miner.h
index e72404f..a5bdfff 100644
--- a/miner.h
+++ b/miner.h
@@ -173,6 +173,9 @@ extern int scanhash_sse2_64(int, const unsigned char *pmidstate, unsigned char *
unsigned char *phash1, unsigned char *phash,
const unsigned char *ptarget,
uint32_t max_nonce, unsigned long *nHashesDone);
+extern int scanhash_scrypt(int, unsigned char *pdata, unsigned char *scratchbuf,
+ const unsigned char *ptarget,
+ uint32_t max_nonce, unsigned long *nHashesDone);
extern int
timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y);