package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type unsigned_block = {
  1. unsigned_block_header : Tezos_protocol_alpha.Protocol.Alpha_context.Block_header.t;
  2. operations : Tezos_base.Operation.t list list;
}
type simulation_kind =
  1. | Filter of Operation_pool.Prioritized.t
  2. | Apply of {
    1. ordered_pool : Operation_pool.ordered_pool;
    2. payload_hash : Tezos_protocol_alpha.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).

OCaml

Innovation. Community. Security.