Scrypt hashing implementation update
[novacoin.git] / src / scrypt_mine.h
index 0260cde..2d2112d 100644 (file)
@@ -7,18 +7,7 @@
 #include "util.h"
 #include "net.h"
 
-typedef struct
-{
-    unsigned int version;
-    uint256 prev_block;
-    uint256 merkle_root;
-    unsigned int timestamp;
-    unsigned int bits;
-    unsigned int nonce;
-} block_header;
-
-void *scrypt_buffer_alloc();
-void scrypt_buffer_free(void *scratchpad);
-void scrypt_hash(const void* input, size_t inputlen, uint32_t *res, void *scratchpad);
+uint256 scrypt_hash(const void* input, size_t inputlen);
+uint256 scrypt_blockhash(const void* input);
 
 #endif // SCRYPT_MINE_H