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

Builds the addition payload for a newly accepted transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
NewMempoolTransactionInfo(
    xref:CTransactionRef.adoc[CTransactionRef] const& tx,
    xref:CAmount.adoc[CAmount] const& fee,
    int64&lowbar;t const vsize,
    unsigned int const height,
    bool const mempool&lowbar;limit&lowbar;bypassed,
    bool const submitted&lowbar;in&lowbar;package,
    bool const chainstate&lowbar;is&lowbar;current,
    bool const has&lowbar;no&lowbar;mempool&lowbar;parents);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction being added&period;
| *fee*
| The fee the transaction paid&period;
| *vsize*
| The virtual transaction size in bytes&period;
| *height*
| The block height the transaction entered the mempool&period;
| *mempool&lowbar;limit&lowbar;bypassed*
| Whether mempool fee limits were bypassed&period;
| *submitted&lowbar;in&lowbar;package*
| Whether the transaction is part of a package&period;
| *chainstate&lowbar;is&lowbar;current*
| Whether the blockchain is up to date&period;
| *has&lowbar;no&lowbar;mempool&lowbar;parents*
| Whether the transaction has no unconfirmed parents&period;
|===


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