Module Slashing_helpers.Misbehaviour_repr

Helpers related to Protocol.Misbehaviour_repr.

val pp : Stdlib.Format.formatter -> Mavryk_protocol_alpha.Protocol.Misbehaviour_repr.t -> unit

Builds a misbehaviour object from either of the duplicate (pre)attestations that constitute a double (pre)attestating event.

check_from_duplicate_operation ~loc misbehaviour duplicate_op asserts that misbehaviour correctly describes a double signing event involving duplicate_op.

Builds a misbehaviour object from either of the duplicate blocks that constitute a double baking event.