CTxMemPool::GetIter

Returns an iterator to the given hash, if found

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f2e1b5a2668), requires_capability(0x7f2e2721b678), requires_capability(0x7f2e421ccd88), requires_capability(0x7f2e2880bd48), requires_capability(0x7f2e3212f0d8), requires_capability(0x7f2e347f7768), requires_capability(0x7f2e2b05bbd8), requires_capability(0x7f2e2bee3278)]]
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.