@@ -142,7 +142,7 @@ let start_bootstrap_controller ~context:(module Context : CONTEXT) ~trust_system
142142 ~producer_transition_writer_ref ~verified_transition_writer ~clear_reader
143143 ~network_transition_pipe ~consensus_local_state ~frontier_w
144144 ~initial_root_transition ~persistent_root ~persistent_frontier
145- ~cache_exceptions ~best_seen_transition ~catchup_mode =
145+ ~cache_exceptions ~best_seen_transition ~catchup_mode ~ signature_kind =
146146 let open Context in
147147 [% str_log info] Starting_bootstrap_controller ;
148148 producer_transition_writer_ref := None ;
@@ -165,7 +165,7 @@ let start_bootstrap_controller ~context:(module Context : CONTEXT) ~trust_system
165165 ~context: (module Context )
166166 ~trust_system ~verifier ~network ~consensus_local_state
167167 ~network_transition_pipe ~persistent_frontier ~persistent_root
168- ~initial_root_transition ~preferred_peers ~catchup_mode )
168+ ~initial_root_transition ~preferred_peers ~catchup_mode ~signature_kind )
169169 (fun (new_frontier , collected_transitions ) ->
170170 start_transition_frontier_controller
171171 ~context: (module Context )
@@ -372,7 +372,7 @@ let initialize ~transaction_pool_proxy ~context:(module Context : CONTEXT)
372372 ~producer_transition_writer_ref ~clear_reader ~verified_transition_writer
373373 ~cache_exceptions ~most_recent_valid_block_writer ~persistent_root
374374 ~persistent_frontier ~consensus_local_state ~catchup_mode ~notify_online
375- ~network_transition_pipe =
375+ ~network_transition_pipe ~ signature_kind =
376376 let open Context in
377377 [% log info] " Initializing transition router" ;
378378 let % bind () =
@@ -410,6 +410,7 @@ let initialize ~transaction_pool_proxy ~context:(module Context : CONTEXT)
410410 ~initial_root_transition ~catchup_mode
411411 ~best_seen_transition:
412412 (Option. map ~f: (fun x -> `Block x) best_seen_transition)
413+ ~signature_kind
413414 | Some best_tip, Some frontier
414415 when is_transition_for_bootstrap
415416 ~context: (module Context )
@@ -438,6 +439,7 @@ let initialize ~transaction_pool_proxy ~context:(module Context : CONTEXT)
438439 ~frontier_w ~initial_root_transition ~persistent_root
439440 ~persistent_frontier ~cache_exceptions ~catchup_mode
440441 ~best_seen_transition: (Some (`Block best_tip))
442+ ~signature_kind
441443 | best_tip_opt , Some frontier ->
442444 let collected_transitions =
443445 match best_tip_opt with
@@ -547,7 +549,7 @@ let run ?(sync_local_state = true) ?(cache_exceptions = false)
547549 ~frontier_broadcast_writer :frontier_w ~network_transition_reader
548550 ~producer_transition_reader ~get_most_recent_valid_block
549551 ~most_recent_valid_block_writer ~get_completed_work ~catchup_mode
550- ~notify_online ~ledger_backing () =
552+ ~notify_online ~ledger_backing ~ signature_kind () =
551553 let open Context in
552554 [% log info] " Starting transition router" ;
553555 let initialization_finish_signal = Ivar. create () in
@@ -641,7 +643,9 @@ let run ?(sync_local_state = true) ?(cache_exceptions = false)
641643 ~producer_transition_writer_ref ~clear_reader
642644 ~verified_transition_writer ~most_recent_valid_block_writer
643645 ~consensus_local_state ~notify_online ~network_transition_pipe
646+ ~signature_kind
644647 in
648+
645649 Ivar. fill_if_empty initialization_finish_signal () ;
646650
647651 let valid_transition_reader1, valid_transition_reader2 =
@@ -700,7 +704,8 @@ let run ?(sync_local_state = true) ?(cache_exceptions = false)
700704 ~clear_reader ~network_transition_pipe
701705 ~consensus_local_state ~frontier_w ~persistent_root
702706 ~persistent_frontier ~initial_root_transition
703- ~best_seen_transition: (Some b_or_h) ~catchup_mode )
707+ ~best_seen_transition: (Some b_or_h) ~catchup_mode
708+ ~signature_kind )
704709 else Deferred. unit
705710 | None ->
706711 Deferred. unit
0 commit comments