Type Definition sp_staking::offence::OffenceCount

source ·
pub type OffenceCount = u32;
Expand description

Number of times the offence of this authority was already reported in the past.

Note that we don’t buffer offence reporting, so every time we see a new offence of the same kind, we will report past authorities again. This counter keeps track of how many times the authority was already reported in the past, so that we can slash it accordingly.