[#CTxMemPoolEntry-2constructor-09] = xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::CTxMemPoolEntry :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<kernel/mempool_entry.h>` Move‐constructs a mempool entry. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:CTxMemPoolEntry/2constructor-0f.adoc[CTxMemPoolEntry](xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]&& other) = default; ---- [.small]#xref:CTxMemPoolEntry/2constructor-0f.adoc[_» more..._]# Constructs a mempool entry for a transaction. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxMemPoolEntry/2constructor-034.adoc[CTxMemPoolEntry]( xref:CTransactionRef.adoc[CTransactionRef] const& tx, xref:CAmount.adoc[CAmount] fee, int64_t time, unsigned int entry_height, uint64_t entry_sequence, bool spends_coinbase, int64_t sigops_cost, xref:LockPoints.adoc[LockPoints] lp); ---- [.small]#xref:CTxMemPoolEntry/2constructor-034.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The entry to move from. | *tx* | The transaction being stored. | *fee* | The fee the transaction paid. | *time* | Local time when the transaction entered the mempool. | *entry_height* | Chain height when the transaction entered the mempool. | *entry_sequence* | Sequence number used to gate the transaction for relay. | *spends_coinbase* | Whether the transaction spends a coinbase output. | *sigops_cost* | Total sigop cost of the transaction. | *lp* | Lock points tracking when the transaction becomes final. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#