package octez-protocol-017-PtNairob-libs
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Octez protocol 017-PtNairob libraries
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      tezos-18.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
    
    
  sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a
    
    
  doc/octez-protocol-017-PtNairob-libs.baking/Tezos_baking_017_PtNairob/Baking_scheduling/index.html
Module Tezos_baking_017_PtNairob.Baking_schedulingSource
Source
val create_loop_state : 
  ?get_valid_blocks_stream:Baking_state.proposal Lwt_stream.t Lwt.t ->
  heads_stream:Baking_state.proposal Lwt_stream.t ->
  Operation_worker.t ->
  loop_stateSource
val wait_next_event : 
  timeout:[ `Timeout of Baking_state.timeout_kind ] Lwt.t ->
  loop_state ->
  (Baking_state.event option,
    Tezos_base.TzPervasives.error Tezos_base.TzPervasives.trace)
    result
    Lwt.tAn event monitor using the streams in loop_state (to create promises) and a timeout promise timeout. The function reacts to a promise being fulfilled by firing an event Baking_state.event.
Source
val compute_next_round_time : 
  Baking_state.state ->
  (Tezos_base.TzPervasives.Time.Protocol.t
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t)
    optionSource
val first_potential_round_at_next_level : 
  Baking_state.state ->
  earliest_round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t ->
  (Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t
   * Baking_state.consensus_key_and_delegate)
    optionSource
val compute_next_potential_baking_time_at_next_level : 
  Baking_state.state ->
  (Tezos_base.TzPervasives.Time.Protocol.t
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t)
    option
    Lwt.tSource
val compute_next_timeout : 
  Baking_state.state ->
  Baking_state.timeout_kind Lwt.t Tezos_base.TzPervasives.tzresult Lwt.tSource
val create_initial_state : 
  Tezos_client_017_PtNairob.Protocol_client_context.full ->
  ?synchronize:bool ->
  chain:Tezos_shell_services.Chain_services.chain ->
  Baking_configuration.t ->
  Operation_worker.t ->
  current_proposal:Baking_state.proposal ->
  Baking_state.consensus_key list ->
  Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.tSource
val compute_bootstrap_event : 
  Baking_state.state ->
  Baking_state.event Tezos_base.TzPervasives.tzresultSource
val automaton_loop : 
  ?stop_on_event:(Baking_state.event -> bool) ->
  config:Baking_configuration.t ->
  on_error:
    (Tezos_base.TzPervasives.tztrace ->
      (unit, Tezos_base.TzPervasives.tztrace) result Lwt.t) ->
  loop_state ->
  Baking_state.state ->
  Baking_state.event ->
  Baking_state.event option Tezos_base.TzPervasives.tzresult Lwt.tSource
val run : 
  Tezos_client_017_PtNairob.Protocol_client_context.full ->
  ?canceler:Lwt_canceler.t ->
  ?stop_on_event:(Baking_state.event -> bool) ->
  ?on_error:
    (Tezos_base.TzPervasives.tztrace ->
      unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
  chain:Tezos_shell_services.Chain_services.chain ->
  Baking_configuration.t ->
  Baking_state.consensus_key list ->
  unit Tezos_base.TzPervasives.tzresult Lwt.t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >