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.
Declared in <txmempool.h>
[[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;
The iterators in the same order, or an empty vector if any txid is missing.
| Name | Description |
|---|---|
| txids | The txids to translate, in order. |