node::TxDownloadManager::MempoolRejectedTx

Respond to transaction rejected from mempool

Synopsis

Declared in <node/txdownloadman.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.