CTxMemPool::info_for_relay

Returns info for a transaction if its entry_sequence < last_sequence

Synopsis

Declared in <txmempool.h>

template<TxidOrWtxid T>
TxMempoolInfo
info_for_relay(
    T const& id,
    uint64_t last_sequence) const;

Return Value

The transaction info, or a default-constructed value if not eligible.

Parameters

NameDescription
idThe txid or wtxid to look up.
last_sequenceOnly return info if the entry's sequence is below this value.