package octez-protocol-alpha-libs

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

Module Operation_pool.Prioritized_operationSource

Sourcetype t
Sourceval extern : ?priority:int -> Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation -> t

prioritize operations coming from an external source (file, uri, ...). An operation with higher priority (aka a bigger integer) will be included before others with lower priority.

Sourceval node : Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation -> t

prioritize operations coming from a node

Sourceval packed : t -> Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation

packed t retrieves the packed_operation wrapped inside t

Sourceval compare_priority : t -> t -> int

compare_priority o1 o2 compares whether o1 has higher priority than o2

Sourceval compare : t -> t -> int

compare is compare_priority when non-zero. This is suitable to construct sets of prioritized operations *

OCaml

Innovation. Community. Security.