[#CTxMemPool-GetConflictTx]
= xref:CTxMemPool.adoc[CTxMemPool]::GetConflictTx
:relfileprefix: ../
:mrdocs:

Get the transaction in the pool that spends the same prevout

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b5a25a8), requires&lowbar;capability(0x7f2e2721b5b8), requires&lowbar;capability(0x7f2e421cccc8), requires&lowbar;capability(0x7f2e2880bc88), requires&lowbar;capability(0x7f2e3212f018), requires&lowbar;capability(0x7f2e347f76a8), requires&lowbar;capability(0x7f2e2b05bb18), requires&lowbar;capability(0x7f2e2bee31b8)&rsqb;&rsqb;
xref:CTransaction.adoc[CTransaction] const*
GetConflictTx(xref:COutPoint.adoc[COutPoint] const& prevout) const;
----

== Return Value

The conflicting transaction, or nullptr if none spends the outpoint&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *prevout*
| The outpoint to look up&period;
|===


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