CTxMemPool::GetIter

GetIter overloads

Synopses

Declared in <txmempool.h>

Returns an iterator to the given hash, if found

std::optional<txiter>
GetIter(Txid const& txid) const;
» more...

Returns an iterator to the given witness hash, if found

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.