Mavryk_raw_protocol_alpha.Misbehaviour_repr
Which double signing event has occurred.
Internal representation of a double signing event used in Denunciations_repr.item
.
For a double baking event, the level
and round
are those of both duplicate blocks. For a double (pre)attestating event, the level
and round
are those that appear in the Operation_repr.consensus_content
of both duplicate consensus operations.
Note: the culprit pkh doesn't appear as a field here because it is typically used as a key when storing denunciation items in the context.
val kind_encoding : kind Mavryk_protocol_environment_alpha.Data_encoding.t
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
Comparison function for double signing kinds.
Double_baking < Double_attesting < Double_preattesting
Comparison function for misbehaviours.
Misbehaviours are ordered by increasing level, then increasing round, then kind using compare_kind
.