aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-11-10 22:29:19 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2016-12-21 18:18:23 -0800
commitc44e4c467c30fe7790372bdea8941ba29fd3327e (patch)
treee7dba6fe81eedb3edc3bb205897835e1c81f1060 /src/txmempool.h
parente8cfe1ee2d01c493b758a67ad14707dca15792ea (diff)
Make AcceptToMemoryPool take CTransactionRef
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 8a5787a886..1c0fbf6052 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -111,10 +111,11 @@ private:
int64_t nSigOpCostWithAncestors;
public:
- CTxMemPoolEntry(const CTransaction& _tx, const CAmount& _nFee,
+ CTxMemPoolEntry(const CTransactionRef& _tx, const CAmount& _nFee,
int64_t _nTime, double _entryPriority, unsigned int _entryHeight,
bool poolHasNoInputsOf, CAmount _inChainInputValue, bool spendsCoinbase,
int64_t nSigOpsCost, LockPoints lp);
+
CTxMemPoolEntry(const CTxMemPoolEntry& other);
const CTransaction& GetTx() const { return *this->tx; }