dig-slashing 0.1.6

Validator slashing, attestation participation, inactivity accounting, and fraud-proof appeals for the DIG Network L2 blockchain.
Documentation
//! Participation-flag accounting (Ethereum Altair parity).
//!
//! Traces to: [SPEC.md §3.10, §8](../../../docs/resources/SPEC.md),
//! catalogue rows
//! [DSL-074..086](../../../docs/requirements/domains/participation/specs/).
//!
//! # Role
//!
//! Tracks the three Ethereum Altair participation flags
//! (`TIMELY_SOURCE`, `TIMELY_TARGET`, `TIMELY_HEAD`) per
//! validator per epoch. Drives Ethereum-parity reward + penalty
//! computation for attestation inclusion.
//!
//! # Surface
//!
//! The full participation stack is implemented:
//!
//!   - DSL-074: the `ParticipationFlags` bitmask type
//!   - DSL-075..077: `classify_timeliness`
//!   - DSL-078..080: the `ParticipationTracker` state machine
//!   - DSL-081..086: reward / penalty flag deltas

pub mod error;
pub mod flags;
pub mod rewards;
pub mod timeliness;
pub mod tracker;

pub use error::ParticipationError;
pub use flags::ParticipationFlags;
pub use rewards::{FlagDelta, base_reward, compute_flag_deltas, proposer_inclusion_reward};
pub use timeliness::classify_timeliness;
pub use tracker::ParticipationTracker;