[#CTxMemPool-GetIterVec] = xref:CTxMemPool.adoc[CTxMemPool]::GetIterVec :relfileprefix: ../ :mrdocs: Translate a list of hashes into a list of mempool iterators to avoid repeated lookups. The nth element in txids becomes the nth element in the returned vector. If any of the txids don't actually exist in the mempool, returns an empty vector. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b5a28a8), requires_capability(0x7f2e2721b8b8), requires_capability(0x7f2e421ccfc8), requires_capability(0x7f2e2880bf88), requires_capability(0x7f2e3212f318), requires_capability(0x7f2e347f79a8), requires_capability(0x7f2e2b05be18), requires_capability(0x7f2e2bee34b8)]] std::vector<txiter> GetIterVec(std::vector<Txid> const& txids) const; ---- == Return Value The iterators in the same order, or an empty vector if any txid is missing. == Parameters [cols="1,4"] |=== | Name| Description | *txids* | The txids to translate, in order. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#