package octez-protocol-alpha-libs

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

Module Mempool.Internal_for_testsSource

Sourceval default_config_with_clock_drift : Tezos_protocol_alpha.Protocol.Alpha_context.Period.t option -> config

default_config with a custom value for the clock_drift field.

Sourceval default_config_with_replace_factor : nanotez -> config

default_config with a custom replace_by_fee_factor.

Sourceval get_clock_drift : config -> Tezos_protocol_alpha.Protocol.Alpha_context.Period.t option

Return the clock_drift field of the given config.

Sourceval acceptable_op : config:config -> round_durations: Tezos_protocol_alpha.Protocol.Alpha_context.Round.round_durations -> round_zero_duration:Tezos_protocol_alpha.Protocol.Alpha_context.Period.t -> proposal_level:Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t -> proposal_round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> proposal_timestamp:Tezos_protocol_alpha.Protocol.Alpha_context.Timestamp.time -> proposal_predecessor_level_start: Tezos_protocol_alpha.Protocol.Alpha_context.Timestamp.time -> op_level:Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t -> op_round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> now_timestamp:Tezos_protocol_alpha.Protocol.Alpha_context.Timestamp.time -> bool Tezos_protocol_alpha.Environment.Error_monad.tzresult

The main auxiliary function for pre_filter regarding consensus operations.

Sourceval fee_needed_to_replace_by_fee : config -> op_to_replace:Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation -> candidate_op:Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation -> int64 option

The main component of Conflict_map.fee_needed_to_replace_by_fee. See comment in the ml file.