From ba20c9031d0dbbb3704b5293a2695879d503481b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 25 Mar 2017 09:09:58 +0100 Subject: [PATCH] Merge #10067: [trivial] Dead code removal c59aedc [trivial] Dead code removal (Thomas Snider) Tree-SHA512: 09962c1ae36fb2f19b7e4a03abf3de6632bab984ce30040ca3f843431df33a0f8fa6a2c1d55b076b800547bb656e344d74ea085ff081b613bcdfd7d2f9826374 --- src/miner.cpp | 13 ------------- 1 file changed, 13 deletions(-) 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;