Reason a transaction failed validation, mirroring btck_TxValidationResult.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

enum class TxValidationResult : btck_TxValidationResult;

Members

Name

Description

UNSET

No result recorded.

CONSENSUS

Invalid by consensus rules.

INPUTS_NOT_STANDARD

One or more inputs are non‐standard.

NOT_STANDARD

The transaction itself is non‐standard.

MISSING_INPUTS

A referenced input is missing or already spent.

PREMATURE_SPEND

An input is spent before it is mature.

WITNESS_MUTATED

The witness data was mutated.

WITNESS_STRIPPED

The witness data was stripped.

CONFLICT

Conflicts with an in‐mempool transaction.

MEMPOOL_POLICY

Rejected by mempool policy.

NO_MEMPOOL

No mempool is available.

RECONSIDERABLE

May become valid later and can be reconsidered.

UNKNOWN

Unknown validation result.

Created with MrDocs