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.1.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
    
    
  sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
    
    
  doc/octez-protocol-017-PtNairob-libs.baking/Tezos_baking_017_PtNairob/Baking_actions/index.html
Module Tezos_baking_017_PtNairob.Baking_actionsSource
Source
type block_kind = - | Fresh of Operation_pool.pool
- | Reproposal of {- consensus_operations : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.packed_operation list;
- payload_hash : Tezos_protocol_017_PtNairob.Protocol.Block_payload_hash.t;
- payload_round : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t;
- payload : Operation_pool.payload;
 - }
Source
type block_to_bake = {- predecessor : Baking_state.block_info;
- round : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t;
- delegate : Baking_state.consensus_key_and_delegate;
- kind : block_kind;
- force_apply : bool;(*- if true, while baking the block, try and apply the block and its operations instead of only validating them. this can be permanently set using the *)- --force-applyflag (see- force_apply_switch_argin- baking_commands.ml).
}Source
type action = - | Do_nothing
- | Inject_block of {- block_to_bake : block_to_bake;
- updated_state : Baking_state.state;
 - }
- | Inject_preendorsements of {- preendorsements : (Baking_state.consensus_key_and_delegate * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.consensus_content) list;
 - }
- | Inject_endorsements of {- endorsements : (Baking_state.consensus_key_and_delegate * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.consensus_content) list;
 - }
- | Update_to_level of level_update
- | Synchronize_round of round_update
- | Watch_proposal
Source
and level_update = {- new_level_proposal : Baking_state.proposal;
- compute_new_state : current_round: Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> delegate_slots:Baking_state.delegate_slots -> next_level_delegate_slots:Baking_state.delegate_slots -> (Baking_state.state * action) Lwt.t;
}Source
and round_update = {- new_round_proposal : Baking_state.proposal;
- handle_proposal : Baking_state.state -> (Baking_state.state * action) Lwt.t;
}Source
val generate_seed_nonce_hash : 
  Baking_configuration.nonce_config ->
  Baking_state.consensus_key ->
  Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Level.t ->
  (Tezos_protocol_017_PtNairob.Protocol.Nonce_hash.t
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Nonce.t)
    option
    Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val inject_block : 
  state_recorder:
    (new_state:Baking_state.state ->
      unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
  Baking_state.state ->
  block_to_bake ->
  updated_state:Baking_state.state ->
  Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.tSource
val inject_preendorsements : 
  Baking_state.state ->
  preendorsements:
    (Baking_state.consensus_key_and_delegate
     * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.consensus_content)
      list ->
  unit Tezos_base.TzPervasives.tzresult Lwt.tSource
val sign_endorsements : 
  Baking_state.state ->
  (Baking_state.consensus_key_and_delegate
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.consensus_content)
    list ->
  (Baking_state.consensus_key_and_delegate
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.packed_operation
   * int32
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t)
    list
    Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val inject_endorsements : 
  Baking_state.state ->
  endorsements:
    (Baking_state.consensus_key_and_delegate
     * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.consensus_content)
      list ->
  unit Tezos_base.TzPervasives.tzresult Lwt.tSource
val sign_dal_attestations : 
  Baking_state.state ->
  (Baking_state.consensus_key_and_delegate
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Dal.Attestation.operation)
    list ->
  (Baking_state.consensus_key_and_delegate
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.packed_operation
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Dal.Attestation.t)
    list
    Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val get_dal_attestations : 
  Baking_state.state ->
  level:Int32.t ->
  (Baking_state.consensus_key_and_delegate
   * Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Dal.Attestation.operation)
    list
    Tezos_base.TzPervasives.tzresult
    Lwt.tSource
val prepare_waiting_for_quorum : 
  Baking_state.state ->
  int
  * (slot:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Slot.t ->
  int option)
  * Operation_worker.candidateSource
val update_to_level : 
  Baking_state.state ->
  level_update ->
  (Baking_state.state * t) Tezos_base.TzPervasives.tzresult Lwt.tSource
val compute_round : 
  Baking_state.proposal ->
  Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.round_durations ->
  Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t
    Tezos_base.TzPervasives.tzresultSource
val perform_action : 
  state_recorder:
    (new_state:Baking_state.state ->
      unit Tezos_base.TzPervasives.tzresult Lwt.t) ->
  Baking_state.state ->
  t ->
  Baking_state.state Tezos_base.TzPervasives.tzresult Lwt.t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >