MempoolAcceptResult::FeeFailure

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

NameDescription
stateValidation state describing the failure.
effective_feerateThe feerate at which the transaction was considered.
wtxids_fee_calculationsWtxids of the transactions used for fee-related checks.