pub fn submit_misbehaviour_reports<T: Config>(
    reports: AggregatedMisbehaviourReports<T::DKGId, T::MaxSignatureLength, T::MaxReporters>
)
Expand description

Submits misbehaviour reports on chain. Signatures of the offending authority are verified against the current or next authorities depending on the type of misbehaviour.

  • Keygen: Verifies against the next authorities, since they are doing keygen.
  • Signing: Verifies against the current authorities, since they are doing signing.

Verifies the reports against the respective thresholds and if enough reports are met begins to jail and decrease the reputation of the offending authority.

The misbehaviour reputation update is: AUTHORITY_REPUTATION = DECAY_PERCENTAGE * AUTHORITY_REPUTATION

If there are not enough unjailed keygen authorities to perform a keygen after the next session, then we deduct the pending keygen threshold (and pending signing threshold) accordingly.

  • origin - The account origin.
  • reports - The aggregated misbehaviour reports containing signatures of an offending authority

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::submit_misbehaviour_reports.