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

Name

Description

ptx

The rejected transaction.

state

Validation state describing why the transaction was rejected.

nodeid

The peer that provided the transaction.

first_time_failure

Whether this is the first failure for this transaction.

Created with MrDocs