Blockchain.6-BadNodeinclude AbstractNode with type ev = Event.t with type value = GoodNode.value with type node_data = GoodNode.node_datatype value = GoodNode.valueThe type of the values for which consensus is being reached.
type ev = Event.tThe type of the events being handled.
type node_data = GoodNode.node_dataThe protocol specific data stored by the node.
The type representing a node and its state. Consists of apllying the value and node_data to the template.
val init : int -> Abstractions.Network.links -> Abstractions.Network.region -> tCreate the initial state of a node.
val state_id : t -> intReturn an integer that identifies the state of the node.
val chain_height : t -> intObtain the height of the chain stored in the node.