package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-protocol-alpha-libs.plugin/Tezos_protocol_plugin_alpha/Mempool/Internal_for_tests/index.html

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.

OCaml

Innovation. Community. Security.