CTxMemPool::GetIter

GetIter overloads

Synopses

Declared in <txmempool.h>

Returns an iterator to the given hash, if found

[[requires_capability(0x7fd7537b9a48), requires_capability(0x7fd74eec63d8), requires_capability(0x7fd75e707a28), requires_capability(0x7fd7598941f8), requires_capability(0x7fd75ce061c8), requires_capability(0x7fd759f6f658), requires_capability(0x7fd75b82f898), requires_capability(0x7fd73e8adaf8)]]
std::optional<txiter>
GetIter(Txid const& txid) const;
» more...

Returns an iterator to the given witness hash, if found

[[requires_capability(0x7fd7537b9b08), requires_capability(0x7fd74eec6498), requires_capability(0x7fd75e707ae8), requires_capability(0x7fd7598942b8), requires_capability(0x7fd75ce06288), requires_capability(0x7fd759f6f718), requires_capability(0x7fd75b82f958), requires_capability(0x7fd73e8adbb8)]]
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.