diff --git a/src/miner.cpp b/src/miner.cpp index dd0391483..68a32ad9e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -37,8 +37,6 @@ #include "llmq/quorums_chainlocks.h" #include -#include -#include #include #include @@ -56,17 +54,6 @@ uint64_t nLastBlockTx = 0; uint64_t nLastBlockSize = 0; -class ScoreCompare -{ -public: - ScoreCompare() {} - - bool operator()(const CTxMemPool::txiter a, const CTxMemPool::txiter b) - { - return CompareTxMemPoolEntryByScore()(*b,*a); // Convert to less than - } -}; - int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev) { int64_t nOldTime = pblock->nTime;