package octez-protocol-019-PtParisB-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_baking_019_PtParisB.Block_forgeSource

Sourcetype unsigned_block = {
  1. unsigned_block_header : Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Block_header.t;
  2. operations : Tezos_base.Operation.t list list;
}
Sourcetype simulation_kind =
  1. | Filter of Operation_pool.Prioritized.t
  2. | Apply of {
    1. ordered_pool : Operation_pool.ordered_pool;
    2. payload_hash : Tezos_protocol_019_PtParisB.Protocol.Block_payload_hash.t;
    }

The simulation kind specifies whether the baker should first filter (and then apply) the provided operations, or just apply them. The former case is used for fresh proposals, while the latter for re-proposals (of an already proposed payload).

Sourceval forge : Tezos_client_019_PtParisB.Protocol_client_context.full -> chain_id:Tezos_base.TzPervasives.Chain_id.t -> pred_info:Baking_state.block_info -> pred_resulting_context_hash:Tezos_base.TzPervasives.Context_hash.t -> pred_live_blocks:Tezos_base.TzPervasives.Block_hash.Set.t -> timestamp:Tezos_base.TzPervasives.Time.Protocol.t -> round:Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t -> liquidity_baking_toggle_vote: Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Per_block_votes.per_block_vote -> adaptive_issuance_vote: Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Per_block_votes.per_block_vote -> user_activated_upgrades:Tezos_base.TzPervasives.User_activated.upgrades -> Baking_configuration.fees_config -> force_apply:bool -> seed_nonce_hash:Tezos_protocol_019_PtParisB.Protocol.Nonce_hash.t option -> payload_round:Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Round.t -> Baking_state.validation_mode -> simulation_kind -> Tezos_protocol_019_PtParisB.Protocol.Alpha_context.Constants.Parametric.t -> unsigned_block Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.