[#MempoolAcceptResult-Failure] = xref:MempoolAcceptResult.adoc[MempoolAcceptResult]::Failure :relfileprefix: ../ :mrdocs: Build a result for a transaction that failed validation. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:MempoolAcceptResult.adoc[MempoolAcceptResult] Failure(xref:TxValidationState.adoc[TxValidationState] state); ---- == Return Value An INVALID result carrying the given state. == Parameters [cols="1,4"] |=== | Name| Description | *state* | Validation state describing why the transaction was rejected. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#