1 #ifndef SCRYPT_MINE_H
\r
2 #define SCRYPT_MINE_H
\r
12 unsigned int version;
\r
14 uint256 merkle_root;
\r
15 unsigned int timestamp;
\r
21 void *scrypt_buffer_alloc();
\r
22 void scrypt_buffer_free(void *scratchpad);
\r
24 unsigned int scanhash_scrypt(block_header *pdata, void *scratchbuf,
25 uint32_t max_nonce, uint32_t &hash_count,
26 void *result, block_header *res_header);
28 void scrypt_hash(const void* input, size_t inputlen, uint32_t *res, void *scratchpad);
\r
30 #endif // SCRYPT_MINE_H
\r