Module zebra_consensus::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§
- Block subsidy errors.
- Errors for semantic transaction validation.
Constants§
- Workaround for format string identifier rules.