We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d64bd commit c59aedcCopy full SHA for c59aedc
src/miner.cpp
@@ -26,8 +26,6 @@
26
#include "validationinterface.h"
27
28
#include <algorithm>
29
-#include <boost/thread.hpp>
30
-#include <boost/tuple/tuple.hpp>
31
#include <queue>
32
#include <utility>
33
@@ -46,17 +44,6 @@ uint64_t nLastBlockTx = 0;
46
44
uint64_t nLastBlockSize = 0;
47
45
uint64_t nLastBlockWeight = 0;
48
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
60
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)
61
{
62
int64_t nOldTime = pblock->nTime;
0 commit comments