Skip to content

Commit 5d7eb39

Browse files
committed
Merge #10067: [trivial] Dead code removal
c59aedc [trivial] Dead code removal (Thomas Snider) Tree-SHA512: 09962c1ae36fb2f19b7e4a03abf3de6632bab984ce30040ca3f843431df33a0f8fa6a2c1d55b076b800547bb656e344d74ea085ff081b613bcdfd7d2f9826374
2 parents 530fcbd + c59aedc commit 5d7eb39

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/miner.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include "validationinterface.h"
2727

2828
#include <algorithm>
29-
#include <boost/thread.hpp>
30-
#include <boost/tuple/tuple.hpp>
3129
#include <queue>
3230
#include <utility>
3331

@@ -46,17 +44,6 @@ uint64_t nLastBlockTx = 0;
4644
uint64_t nLastBlockSize = 0;
4745
uint64_t nLastBlockWeight = 0;
4846

49-
class ScoreCompare
50-
{
51-
public:
52-
ScoreCompare() {}
53-
54-
bool operator()(const CTxMemPool::txiter a, const CTxMemPool::txiter b)
55-
{
56-
return CompareTxMemPoolEntryByScore()(*b,*a); // Convert to less than
57-
}
58-
};
59-
6047
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)
6148
{
6249
int64_t nOldTime = pblock->nTime;

0 commit comments

Comments
 (0)