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

Name

Description

gtxid

The transaction identifier to look up.

include_reconsiderable

Whether to also consult the reconsiderable‐rejects filter.

Created with MrDocs