Bootstrap_controller
module type CONTEXT = sig ... end
val bootstrap_complete_structured_events_id : Structured_log_events.id
val bootstrap_complete_structured_events_repr : Structured_log_events.repr
val run :
context:(module CONTEXT) ->
trust_system:Trust_system.t ->
verifier:Verifier.t ->
network:Mina_networking.t ->
consensus_local_state:Consensus.Data.Local_state.t ->
transition_reader:
([ `Block of
Mina_block.initial_valid_block Network_peer.Envelope.Incoming.t ]
* [ `Valid_cb of Mina_net2.Validation_callback.t option ])
Pipe_lib.Strict_pipe.Reader.t ->
best_seen_transition:
Mina_block.initial_valid_block Network_peer.Envelope.Incoming.t option ->
persistent_root:Transition_frontier.Persistent_root.t ->
persistent_frontier:Transition_frontier.Persistent_frontier.t ->
initial_root_transition:Mina_block.Validated.t ->
catchup_mode:[ `Normal | `Super ] ->
(Transition_frontier.t
* Mina_block.initial_valid_block Network_peer.Envelope.Incoming.t list)
Async_kernel.Deferred.t