Update CMakeLists.txt - play with openssl
[novacoin.git] / src / scrypt.h
index 2d2112d..7a94911 100644 (file)
@@ -1,13 +1,11 @@
-#ifndef SCRYPT_MINE_H
-#define SCRYPT_MINE_H
+#ifndef SCRYPT_H
+#define SCRYPT_H
 
 #include <stdint.h>
-#include <stdlib.h>
+#include "uint256.h"
 
-#include "util.h"
-#include "net.h"
+#define SCRYPT_BUFFER_SIZE (131072 + 63)
 
-uint256 scrypt_hash(const void* input, size_t inputlen);
-uint256 scrypt_blockhash(const void* input);
+uint256 scrypt_blockhash(const uint8_t* input);
 
-#endif // SCRYPT_MINE_H
+#endif // SCRYPT_H