Module Mavryk_baking_alpha.Block_forge

type unsigned_block = {
  1. unsigned_block_header : Mavryk_protocol_alpha.Protocol.Alpha_context.Block_header.t;
  2. operations : Mavryk_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 : Mavryk_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).