Build a result for a fee‐related validation failure.

Synopsis

Declared in <validation.h>

static
MempoolAcceptResult
FeeFailure(
    TxValidationState state,
    CFeeRate effective_feerate,
    std::vector<Wtxid> const& wtxids_fee_calculations);

Return Value

An INVALID result that also records the fee information.

Parameters

Name

Description

state

Validation state describing the failure.

effective_feerate

The feerate at which the transaction was considered.

wtxids_fee_calculations

Wtxids of the transactions used for fee‐related checks.

Created with MrDocs