[#node-TxDownloadManager-MempoolRejectedTx]
= xref:node.adoc[node]::xref:node/TxDownloadManager.adoc[TxDownloadManager]::MempoolRejectedTx
:relfileprefix: ../../
:mrdocs:

Respond to transaction rejected from mempool

== Synopsis

Declared in `&lt;node&sol;txdownloadman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:node/RejectedTxTodo.adoc[RejectedTxTodo]
MempoolRejectedTx(
    xref:CTransactionRef.adoc[CTransactionRef] const& ptx,
    xref:TxValidationState.adoc[TxValidationState] const& state,
    xref:NodeId-08.adoc[NodeId] nodeid,
    bool first&lowbar;time&lowbar;failure);
----

== Return Value

Follow&hyphen;up actions to take, such as parents to request or a package to validate&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptx*
| The rejected transaction&period;
| *state*
| Validation state describing why the transaction was rejected&period;
| *nodeid*
| The peer that provided the transaction&period;
| *first&lowbar;time&lowbar;failure*
| Whether this is the first failure for this transaction&period;
|===


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