package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.