X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fscrypt.h;h=7d5aadc133cb7785a350f3c2fdf7e10e45c45784;hb=32b53bb54ee7591fd47dd1ee24e05b73337f40b5;hp=2d2112d3f76769c70cb72b788290d89eb9de440f;hpb=2cf54c4aefe0d5181db922a6d8ebf229e3e4d251;p=novacoin.git diff --git a/src/scrypt.h b/src/scrypt.h index 2d2112d..7d5aadc 100644 --- a/src/scrypt.h +++ b/src/scrypt.h @@ -1,13 +1,12 @@ -#ifndef SCRYPT_MINE_H -#define SCRYPT_MINE_H +#ifndef SCRYPT_H +#define SCRYPT_H #include -#include +#include +#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