node::TxDownloadManagerImpl::AlreadyHaveTx

Check whether we already have this gtxid in: - mempool - orphanage - m_recent_rejects - m_recent_rejects_reconsiderable (if include_reconsiderable = true) - m_recent_confirmed_transactions

Synopsis

Declared in <node/txdownloadman_impl.h>

bool
AlreadyHaveTx(
    GenTxid const& gtxid,
    bool include_reconsiderable);

Return Value

True if the transaction is already known, false otherwise.

Parameters

NameDescription
gtxidThe transaction identifier to look up.
include_reconsiderableWhether to also consult the reconsiderable-rejects filter.