[#CCoinsViewMemPool-PackageAddTransaction]
= xref:CCoinsViewMemPool.adoc[CCoinsViewMemPool]::PackageAddTransaction
:relfileprefix: ../
:mrdocs:

Add the coins created by this transaction&period; These coins are only temporarily stored in m&lowbar;temp&lowbar;added and cannot be flushed to the back end&period; Only used for package validation&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PackageAddTransaction(xref:CTransactionRef.adoc[CTransactionRef] const& tx);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction whose outputs are added to the temporary set&period;
|===


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