CTxMemPool::GetIter

Returns an iterator to the given hash, if found

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fd7537b9a48), requires_capability(0x7fd74eec63d8), requires_capability(0x7fd75e707a28), requires_capability(0x7fd7598941f8), requires_capability(0x7fd75ce061c8), requires_capability(0x7fd759f6f658), requires_capability(0x7fd75b82f898), requires_capability(0x7fd73e8adaf8)]]
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.