BitcoinKernel ValidationMode Enumeration ValidationMode Whether a validated block is valid, invalid, or the kernel hit an internal error during validation. enum ValidationMode Overview The high-level verdict carried by validationMode. Use blockValidationResult to get the granular reason when this is ValidationMode.invalid. Maps to btck_ValidationMode constants in the kernel C API. Topics Enumeration Cases case internalErrorThe kernel encountered an internal error unrelated to the block itself — typically disk I/O failure, memory pressure, or a bug. Treat as a system-level problem rather than a block-validity signal. case invalidValidation failed — the block was rejected by consensus rules. Read BlockValidationResult for the specific reason. case validValidation succeeded — the block satisfies consensus rules. Initializers init?(rawValue: UInt8) Instance Properties var description: StringA short lowercase label suitable for logs.