Build a result for a transaction that failed validation.

Synopsis

Declared in <validation.h>

static
MempoolAcceptResult
Failure(TxValidationState state);

Return Value

An INVALID result carrying the given state.

Parameters

Name

Description

state

Validation state describing why the transaction was rejected.

Created with MrDocs