Skip to main content

Module pending

Module pending 

Source
Expand description

Pending-slash book + lifecycle-state types.

Traces to: SPEC.md §3.8 + §7.1, catalogue rows DSL-024, DSL-146, DSL-147, DSL-161.

§Role

Optimistic slashing is reversible during the 8-epoch appeal window (SLASH_APPEAL_WINDOW_EPOCHS). The manager holds one PendingSlash per admitted evidence until it transitions to Finalised (DSL-029) or Reverted (DSL-070). The PendingSlashBook provides the keyed storage + a secondary by-window-expiry index for efficient expired_by scans at finalisation.

Structs§

AppealAttempt
One appeal attempt attached to a PendingSlash.
PendingSlash
A slash record held in the pending book during its appeal window.
PendingSlashBook
Keyed book of admitted pending slashes.

Enums§

AppealOutcome
Adjudication outcome for an individual appeal attempt.
PendingSlashStatus
Lifecycle status of an admitted slash.