package tezos-baking-alpha

  1. Overview
  2. Docs
val consensus_index : int
val votes_index : int
val anonymous_index : int
val managers_index : int
module Operation_set : sig ... end
type 'collection t = {
  1. consensus : 'collection;
  2. votes : 'collection;
  3. anonymous : 'collection;
  4. managers : 'collection;
}

Generic base type for pools

type pool = Operation_set.t t

A pool of operations for a single origin, or undifferenciated origin, typically used for operations coming from the node

A pool of operations for a single origin, or undifferenciated origin, typically used for operations coming from the node

val empty : pool

on pool

val pp_pool : Stdlib.Format.formatter -> pool -> unit
val ordered_pool_encoding : ordered_pool Data_encoding.t
val empty_ordered : ordered_pool
val pp_ordered_pool : Stdlib.Format.formatter -> ordered_pool -> unit
val empty_payload : payload
val payload_encoding : payload Data_encoding.t
val pp_payload : Stdlib.Format.formatter -> payload -> unit
val payload_of_ordered_pool : ordered_pool -> payload
val ordered_pool_of_payload : consensus_operations: Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation list -> payload -> ordered_pool
val filter_with_relevant_consensus_ops : endorsement_filter:consensus_filter -> preendorsement_filter:consensus_filter option -> Operation_set.t -> Operation_set.t
val ordered_of_list_list : Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation list list -> ordered_pool option
module Prioritized_operation : sig ... end
module Prioritized_operation_set : sig ... end
module Prioritized : sig ... end

Pool of prioritized operations

OCaml

Innovation. Community. Security.