Returns an iterator to the given witness hash, if found

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fb95f556258), requires_capability(0x7fb968bc7968), requires_capability(0x7fb95fdd17a8), requires_capability(0x7fb978b76b68), requires_capability(0x7fb96b8fc0c8), requires_capability(0x7fb96e5c2b98), requires_capability(0x7fb97a07cbc8), requires_capability(0x7fb96be44918)]]
std::optional<txiter>
GetIter(Wtxid const& wtxid) const;

Return Value

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

Parameters

Name

Description

wtxid

The wtxid to look up.

Created with MrDocs