[#CTxMemPoolEntry-2constructor-09]
= xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::CTxMemPoolEntry
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

Move&hyphen;constructs a mempool entry&period;


[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&period;&period;&period;_]#

Constructs a mempool entry for a transaction&period;


[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&lowbar;t time,
    unsigned int entry&lowbar;height,
    uint64&lowbar;t entry&lowbar;sequence,
    bool spends&lowbar;coinbase,
    int64&lowbar;t sigops&lowbar;cost,
    xref:LockPoints.adoc[LockPoints] lp);
----

[.small]#xref:CTxMemPoolEntry/2constructor-034.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The entry to move from&period;
| *tx*
| The transaction being stored&period;
| *fee*
| The fee the transaction paid&period;
| *time*
| Local time when the transaction entered the mempool&period;
| *entry&lowbar;height*
| Chain height when the transaction entered the mempool&period;
| *entry&lowbar;sequence*
| Sequence number used to gate the transaction for relay&period;
| *spends&lowbar;coinbase*
| Whether the transaction spends a coinbase output&period;
| *sigops&lowbar;cost*
| Total sigop cost of the transaction&period;
| *lp*
| Lock points tracking when the transaction becomes final&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
