CTxMemPool::GetIter

GetIter overloads

Synopses

Declared in <txmempool.h>

Returns an iterator to the given hash, if found

[[requires_capability(0x7fbc8f684148), requires_capability(0x7fbc95d45ea8), requires_capability(0x7fbca708bb68), requires_capability(0x7fbc86274408), requires_capability(0x7fbca7898ae8), requires_capability(0x7fbc84aba138), requires_capability(0x7fbc870f9638), requires_capability(0x7fbc921e0ef8)]]
std::optional<txiter>
GetIter(Txid const& txid) const;
» more...

Returns an iterator to the given witness hash, if found

[[requires_capability(0x7fbc8f684208), requires_capability(0x7fbc95d45f68), requires_capability(0x7fbca708bc28), requires_capability(0x7fbc862744c8), requires_capability(0x7fbca7898ba8), requires_capability(0x7fbc84aba1f8), requires_capability(0x7fbc870f96f8), requires_capability(0x7fbc921e0fb8)]]
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.