CTxMemPool::GetIterSet

Translate a set of hashes into a set of pool iterators to avoid repeated lookups. Does not require that all of the hashes correspond to actual transactions in the mempool, only returns the ones that exist.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f2e1b5a27e8), requires_capability(0x7f2e2721b7f8), requires_capability(0x7f2e421ccf08), requires_capability(0x7f2e2880bec8), requires_capability(0x7f2e3212f258), requires_capability(0x7f2e347f78e8), requires_capability(0x7f2e2b05bd58), requires_capability(0x7f2e2bee33f8)]]
setEntries
GetIterSet(std::set<Txid> const& hashes) const;

Return Value

The iterators for the hashes that exist in the mempool.

Parameters

NameDescription
hashesThe txids to translate.