Report an unrecoverable error, flag the validation state as failed, and notify the node to shut down.
Declared in <validation.h>
bool
FatalError(
kernel::Notifications& notifications,
BlockValidationState& state,
bilingual_str const& message);
Always false, so callers can return it directly.
| Name | Description |
|---|---|
| notifications | Sink used to surface the fatal error to the node. |
| state | Validation state to mark with the fatal error. |
| message | Human-readable, translatable description of the error. |