[#node-TxOrphanage-HaveTx]
= xref:node.adoc[node]::xref:node/TxOrphanage.adoc[TxOrphanage]::HaveTx
:relfileprefix: ../../
:mrdocs:

Check if we already have an orphan transaction (by wtxid only)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
HaveTx(xref:Wtxid.adoc[Wtxid] const& wtxid) const = 0;
----

== Return Value

True if the orphan is stored, false otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wtxid*
| Witness txid to look up&period;
|===


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