Remove PoW CPU miner
[novacoin.git] / src / scrypt_mine.h
index 58f25f3..0260cde 100644 (file)
@@ -1,30 +1,24 @@
-#ifndef SCRYPT_MINE_H\r
-#define SCRYPT_MINE_H\r
-\r
-#include <stdint.h>\r
-#include <stdlib.h>\r
-\r
-#include "util.h"\r
-#include "net.h"\r
-\r
-typedef struct\r
-{\r
-    unsigned int version;\r
-    uint256 prev_block;\r
-    uint256 merkle_root;\r
-    unsigned int timestamp;\r
-    unsigned int bits;\r
-    unsigned int nonce;\r
-\r
-} block_header;\r
-\r
-void *scrypt_buffer_alloc();\r
-void scrypt_buffer_free(void *scratchpad);\r
-\r
-unsigned int scanhash_scrypt(block_header *pdata, void *scratchbuf,
-    uint32_t max_nonce, uint32_t &hash_count,
-    void *result, block_header *res_header);
-\r
-void scrypt_hash(const void* input, size_t inputlen, uint32_t *res, void *scratchpad);\r
-\r
-#endif // SCRYPT_MINE_H\r
+#ifndef SCRYPT_MINE_H
+#define SCRYPT_MINE_H
+
+#include <stdint.h>
+#include <stdlib.h>
+
+#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);
+
+#endif // SCRYPT_MINE_H