CTxMemPool::GetIter

Returns an iterator to the given hash, if found

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fbc8f684148), requires_capability(0x7fbc95d45ea8), requires_capability(0x7fbca708bb68), requires_capability(0x7fbc86274408), requires_capability(0x7fbca7898ae8), requires_capability(0x7fbc84aba138), requires_capability(0x7fbc870f9638), requires_capability(0x7fbc921e0ef8)]]
std::optional<txiter>
GetIter(Txid const& txid) const;

Return Value

An iterator to the entry, or std::nullopt if not present.

Parameters

NameDescription
txidThe txid to look up.