Skip to content

Commit a76470f

Browse files
authored
Update scrypt.h
1 parent e68baeb commit a76470f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/scrypt.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33

44
#include <stdint.h>
55
#include <stdlib.h>
6-
6+
#include "uint256.h"
77
#include "util.h"
88
#include "net.h"
99

10+
#define SCRYPT_BUFFER_SIZE (131072 + 63)
11+
1012
uint256 scrypt_salted_multiround_hash(const void* input, size_t inputlen, const void* salt, size_t saltlen, const unsigned int nRounds);
1113
uint256 scrypt_salted_hash(const void* input, size_t inputlen, const void* salt, size_t saltlen);
1214
uint256 scrypt_hash(const void* input, size_t inputlen);
13-
uint256 scrypt_blockhash(const void* input);
15+
uint256 scrypt_blockhash(const uint8_t* input);
1416

1517
#endif // SCRYPT_MINE_H

0 commit comments

Comments
 (0)