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

Translate a list of hashes into a list of mempool iterators to avoid repeated lookups&period; The nth element in txids becomes the nth element in the returned vector&period; If any of the txids don&apos;t actually exist in the mempool, returns an empty vector&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95135d2978), requires&lowbar;capability(0x7f9501b11d58), requires&lowbar;capability(0x7f950ec77f48), requires&lowbar;capability(0x7f9525ea7c98), requires&lowbar;capability(0x7f95150973d8), requires&lowbar;capability(0x7f950826b678), requires&lowbar;capability(0x7f94f856ed88), requires&lowbar;capability(0x7f9513c58f78)&rsqb;&rsqb;
std::vector&lt;txiter&gt;
GetIterVec(std::vector&lt;Txid&gt; const& txids) const;
----

== Return Value

The iterators in the same order, or an empty vector if any txid is missing&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txids*
| The txids to translate, in order&period;
|===


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