package octez-protocol-019-PtParisB-libs

  1. Overview
  2. Docs
Octez protocol 019-PtParisB libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-019-PtParisB-libs.baking/Tezos_baking_019_PtParisB/Block_forge/index.html

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.