Make.2-Eventtype msg = Message.tThe type of the messages.
type t = | Message of int * int * Clock.t * Clock.t * msg | (* Message receival event: sender, receipient, send_timestamp, receive_timestamp, msg *) |
| MintBlock of int * Clock.t | |
| Timeout of int * Clock.t * Events.timeout_label |
The type of the events processed during the simulation.
val target : t -> int optionReturn the node that should process an event.
val create_timeout : int -> Clock.t -> Events.timeout_label -> tCreate a timeout event.