CTxMemPool::GetIter

GetIter overloads

Synopses

Declared in <txmempool.h>

Returns an iterator to the given hash, if found

[[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;
» more...

Returns an iterator to the given witness hash, if found

[[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;
» more...

Return Value

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

Parameters

NameDescription
txidThe txid to look up.
wtxidThe wtxid to look up.