diff --git a/src/feerate.h b/src/feerate.h --- a/src/feerate.h +++ b/src/feerate.h @@ -36,8 +36,6 @@ * exceed (2^63 - 1) */ CFeeRate(const Amount nFeePaid, size_t nBytes); - constexpr CFeeRate(const CFeeRate &other) - : nSatoshisPerK(other.nSatoshisPerK) {} /** * Return the fee in satoshis for the given size in bytes. diff --git a/src/txmempool.h b/src/txmempool.h --- a/src/txmempool.h +++ b/src/txmempool.h @@ -137,8 +137,6 @@ unsigned int _entryHeight, Amount _inChainInputValue, bool spendsCoinbase, int64_t nSigOpsCost, LockPoints lp); - CTxMemPoolEntry(const CTxMemPoolEntry &other); - const CTransaction &GetTx() const { return *this->tx; } CTransactionRef GetSharedTx() const { return this->tx; } /** diff --git a/src/txmempool.cpp b/src/txmempool.cpp --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -52,10 +52,6 @@ nSigOpCountWithAncestors = sigOpCount; } -CTxMemPoolEntry::CTxMemPoolEntry(const CTxMemPoolEntry &other) { - *this = other; -} - double CTxMemPoolEntry::GetPriority(unsigned int currentHeight) const { double deltaPriority = double((currentHeight - entryHeight) * (inChainInputValue / SATOSHI)) /