Tracks offenses against specific origins.
Event
IdentificationTuple - Full ID of the validator
IdentificationTuple
OnOffenceHandler - A handler called for every offense report.
OnOffenceHandler
Reports - a StorageMap which stores the report ID can the offense detail for all offense reports.
Reports
ConcurrentReportsIndex - A vector of reports of the same kind that happened at the same time slot.
ConcurrentReportsIndex
ReportsByKindIndex - Enumerates all reports of a kind along with the time they happened.
ReportsByKindIndex
Last updated 3 years ago