diff --git a/src/Makefile.am b/src/Makefile.am index bcaf0f33fb..b892c3d148 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -170,6 +170,7 @@ BITCOIN_CORE_H = \ interfaces/wallet.h \ key.h \ key_io.h \ + libpopcnt.h \ logging.h \ logging/timer.h \ mapport.h \ diff --git a/src/pow.cpp b/src/pow.cpp index 9e6ac1c746..2837a1dadc 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -16,17 +16,17 @@ #include //Blake2b, Scrypt and SHA3-512 -#include "cryptopp/cryptlib.h" -#include "cryptopp/sha3.h" -#include "cryptopp/whrlpool.h" -#include "cryptopp/scrypt.h" -#include "cryptopp/secblock.h" -#include "cryptopp/blake2.h" -#include "cryptopp/hex.h" -#include "cryptopp/files.h" +#include +#include +#include +#include +#include +#include +#include +#include //Fancy popcount implementation -#include "libpopcnt.h" +#include uint16_t GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHeader *pblock, const Consensus::Params& params) {