aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Snider <tjps636@gmail.com>2017-03-23 15:08:54 -0700
committerThomas Snider <tjps636@gmail.com>2017-03-23 15:08:54 -0700
commitc59aedc1b0ea8e126f306db0a2b60536e0f1a960 (patch)
tree5a4b1d5839712f9c93b4c28cd9f5059c36b08098
parent02d64bd929c9663ba38e96721c6dbd89972d043d (diff)
[trivial] Dead code removal
-rw-r--r--src/miner.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index ff28a5680e..4fd99c5282 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -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;
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;