// Copyright (c) 2018 The Vertcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef VERTCOIN_CRYPTO_VERTHASH_H #define VERTCOIN_CRYPTO_VERTHASH_H #include #include #include #include #include #include #include #include #define VERTHASH_FORKBLOCK_TESTNET 231000 #define VERTHASH_FORKBLOCK_MAINNET 1500000 /** Default for -blockmaxweight, which controls the range of block weights the mining code will create **/ class Verthash { public: static void Hash(const char* input, char* output); static bool VerifyDatFile(); static void LoadInRam(); private: static unsigned char *datFile; static size_t datFileSize; static bool datFileInRam; }; #endif // VERTCOIN_CRYPTO_VERTHASH_H