Parameter Blockchain.7-Initializer

type node = GoodNode.t

The type representing a node.

type ev = Event.t

The type of the events being produced.

val init : (int, node) Stdlib.Hashtbl.t -> ev list

Returns a list of events that kickstart the simulation.

  • parameter nodes

    an hashtable containing the state of each node