Reason a block failed validation, mirroring btck_BlockValidationResult.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

enum class BlockValidationResult : btck_BlockValidationResult;

Members

Name

Description

UNSET

No result recorded.

CONSENSUS

Invalid by consensus rules.

CACHED_INVALID

Already known to be invalid.

INVALID_HEADER

The block header is invalid.

MUTATED

The block payload was mutated (bad Merkle root).

MISSING_PREV

The previous block is not available.

INVALID_PREV

The previous block is invalid.

TIME_FUTURE

The block timestamp is too far in the future.

HEADER_LOW_WORK

The header chain has insufficient proof of work.

Created with MrDocs