CTxMemPool::GetIter

Returns an iterator to the given witness hash, if found

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7f2e1b5a2728), requires_capability(0x7f2e2721b738), requires_capability(0x7f2e421cce48), requires_capability(0x7f2e2880be08), requires_capability(0x7f2e3212f198), requires_capability(0x7f2e347f7828), requires_capability(0x7f2e2b05bc98), requires_capability(0x7f2e2bee3338)]]
std::optional<txiter>
GetIter(Wtxid const& wtxid) const;

Return Value

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

Parameters

NameDescription
wtxidThe wtxid to look up.