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.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.