From 8f03064918af585fb643ced547610dc64260e8ed Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Thu, 21 Apr 2022 01:28:46 +0200 Subject: [PATCH] cleanup: fix pow.cpp header usage --- src/Makefile.am | 1 + src/pow.cpp | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) 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) {