[#node-TxDownloadManagerImpl-GetUniqueParents]
= xref:node.adoc[node]::xref:node/TxDownloadManagerImpl.adoc[TxDownloadManagerImpl]::GetUniqueParents
:relfileprefix: ../../
:mrdocs:

Helper for getting deduplicated vector of Txids in vin&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;Txid&gt;
GetUniqueParents(xref:CTransaction.adoc[CTransaction] const& tx);
----

== Return Value

The deduplicated txids of `tx&apos;s` inputs&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The transaction whose parent txids to collect&period;
|===


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