[#MempoolAcceptResult-FeeFailure]
= xref:MempoolAcceptResult.adoc[MempoolAcceptResult]::FeeFailure
:relfileprefix: ../
:mrdocs:

Build a result for a fee&hyphen;related validation failure&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:MempoolAcceptResult.adoc[MempoolAcceptResult]
FeeFailure(
    xref:TxValidationState.adoc[TxValidationState] state,
    xref:CFeeRate.adoc[CFeeRate] effective&lowbar;feerate,
    std::vector&lt;Wtxid&gt; const& wtxids&lowbar;fee&lowbar;calculations);
----

== Return Value

An INVALID result that also records the fee information&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| Validation state describing the failure&period;
| *effective&lowbar;feerate*
| The feerate at which the transaction was considered&period;
| *wtxids&lowbar;fee&lowbar;calculations*
| Wtxids of the transactions used for fee&hyphen;related checks&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
