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
Declared in <node/txdownloadman_impl.h>
bool
AlreadyHaveTx(
GenTxid const& gtxid,
bool include_reconsiderable);
True if the transaction is already known, false otherwise.
| Name | Description |
|---|---|
| gtxid | The transaction identifier to look up. |
| include_reconsiderable | Whether to also consult the reconsiderable-rejects filter. |