CTxMemPool::GetEntry

Returns a pointer to the mempool entry for the given txid, or nullptr if absent.

Synopsis

Declared in <txmempool.h>

[[requires_capability(0x7fd7537ba738), requires_capability(0x7fd74eec70c8), requires_capability(0x7fd75e708718), requires_capability(0x7fd759894ee8), requires_capability(0x7fd75ce06eb8), requires_capability(0x7fd759f70348), requires_capability(0x7fd75b830588), requires_capability(0x7fd73e8ae7e8)]]
CTxMemPoolEntry const*
GetEntry(Txid const& txid) const;

Return Value

The entry, or nullptr if not present.

Parameters

NameDescription
txidThe txid to look up.