Module error

Source
Expand description

Errors that can occur when checking consensus rules.

Each error variant corresponds to a consensus rule, so enumerating all possible verification failures enumerates the consensus rules we implement, and ensures that we don’t reject blocks or transactions for a non-enumerated reason.

Enums§

BlockError
TransactionError
Errors for semantic transaction validation.

Constants§

MAX_EXPIRY_HEIGHT 🔒
Workaround for format string identifier rules.