[#CValidationInterface-TransactionAddedToMempool]
= xref:CValidationInterface.adoc[CValidationInterface]::TransactionAddedToMempool
:relfileprefix: ../
:mrdocs:

Notifies listeners of a transaction having been added to mempool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
TransactionAddedToMempool(
    xref:NewMempoolTransactionInfo.adoc[NewMempoolTransactionInfo] const& tx,
    uint64&lowbar;t mempool&lowbar;sequence);
----

== Description

Called on a background thread&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| Information about the transaction added to the mempool&period;
| *mempool&lowbar;sequence*
| Mempool sequence number at the time of the addition&period;
|===


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