pub trait PunishValidators {
    fn punish_for_invalid(
        session: SessionIndex,
        validators: impl IntoIterator<Item = ValidatorIndex>
    ); fn punish_against_valid(
        session: SessionIndex,
        validators: impl IntoIterator<Item = ValidatorIndex>
    ); fn punish_inconclusive(
        session: SessionIndex,
        validators: impl IntoIterator<Item = ValidatorIndex>
    ); }
Expand description

Punishment hooks for disputes.

Required Methods§

Punish a series of validators who were for an invalid parablock. This is expected to be a major punishment.

Punish a series of validators who were against a valid parablock. This is expected to be a minor punishment.

Punish a series of validators who were part of a dispute which never concluded. This is expected to be a minor punishment.

Implementations on Foreign Types§

Implementors§