mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #10067: [trivial] Dead code removal
c59aedc
[trivial] Dead code removal (Thomas Snider)
Tree-SHA512: 09962c1ae36fb2f19b7e4a03abf3de6632bab984ce30040ca3f843431df33a0f8fa6a2c1d55b076b800547bb656e344d74ea085ff081b613bcdfd7d2f9826374
This commit is contained in:
parent
ae05068c5d
commit
ba20c9031d
@ -37,8 +37,6 @@
|
||||
#include "llmq/quorums_chainlocks.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <boost/thread.hpp>
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
#include <queue>
|
||||
#include <utility>
|
||||
|
||||
@ -56,17 +54,6 @@
|
||||
uint64_t nLastBlockTx = 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 nOldTime = pblock->nTime;
|
||||
|
Loading…
Reference in New Issue
Block a user