Merge #10067: [trivial] Dead code removal

c59aedc [trivial] Dead code removal (Thomas Snider)

Tree-SHA512: 09962c1ae36fb2f19b7e4a03abf3de6632bab984ce30040ca3f843431df33a0f8fa6a2c1d55b076b800547bb656e344d74ea085ff081b613bcdfd7d2f9826374
This commit is contained in:
Wladimir J. van der Laan 2017-03-25 09:09:58 +01:00 committed by Pasta
parent ae05068c5d
commit ba20c9031d
No known key found for this signature in database
GPG Key ID: 0B8EB7A31A44D9C6

View File

@ -37,8 +37,6 @@
#include "llmq/quorums_chainlocks.h" #include "llmq/quorums_chainlocks.h"
#include <algorithm> #include <algorithm>
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
#include <queue> #include <queue>
#include <utility> #include <utility>
@ -56,17 +54,6 @@
uint64_t nLastBlockTx = 0; uint64_t nLastBlockTx = 0;
uint64_t nLastBlockSize = 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 UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)
{ {
int64_t nOldTime = pblock->nTime; int64_t nOldTime = pblock->nTime;