package octez-protocol-020-PsParisC-libs

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

Module Operation_pool.PrioritizedSource

Pool of prioritized operations

Same record fields as type pool, but with a different set base

Sourceval of_pool : pool -> t

of_pool pool transforms pool into a prioritized pool of operations of low priority.

Sourceval merge_external_operations : t -> Tezos_protocol_020_PsParisC.Protocol.Alpha_context.packed_operation list -> t

merge_external_operations ?initial_priority pool extern_ops creates a prioritized pool from a pool and extern_ops coming from an external source, which we prioritize.

Priorities for these operations is given according to the order of the list. The first element of the list has highest priority.

Sourceval filter : (Tezos_protocol_020_PsParisC.Protocol.Alpha_context.packed_operation -> bool) -> t -> t
Sourceval add_operations : t -> Prioritized_operation.t list -> t
OCaml

Innovation. Community. Security.