Browse Source

[trivial] Dead code removal

0.15
Thomas Snider 8 years ago
parent
commit
c59aedc1b0
  1. 13
      src/miner.cpp

13
src/miner.cpp

@ -26,8 +26,6 @@ @@ -26,8 +26,6 @@
#include "validationinterface.h"
#include <algorithm>
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
#include <queue>
#include <utility>
@ -46,17 +44,6 @@ uint64_t nLastBlockTx = 0; @@ -46,17 +44,6 @@ uint64_t nLastBlockTx = 0;
uint64_t nLastBlockSize = 0;
uint64_t nLastBlockWeight = 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;

Loading…
Cancel
Save