package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-protocol-alpha-libs.baking/Tezos_baking_alpha/Operation_pool/Prioritized_operation/index.html

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.