Module Make.Blockchain

Functor to create and implementation for a BlockchainProtocol (protocol that simulates BlockchainNodes).

Parameters

module GoodNode : BlockchainNode with type ev = Event.t and type value = Block.block
module Initializer : Initializer with type node = GoodNode.t and type ev = Event.t

Signature

val run : unit -> unit

The main loop of the simulation.