node::TxDownloadManagerImpl::MempoolRejectedTx

Respond to a transaction being rejected from the mempool.

Synopsis

Declared in <node/txdownloadman_impl.h>

RejectedTxTodo
MempoolRejectedTx(
    CTransactionRef const& ptx,
    TxValidationState const& state,
    NodeId nodeid,
    bool first_time_failure);

Return Value

Follow-up actions to take, such as parents to request or a package to validate.

Parameters

NameDescription
ptxThe rejected transaction.
stateValidation state describing why the transaction was rejected.
nodeidThe peer that provided the transaction.
first_time_failureWhether this is the first failure for this transaction.