package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Operations_source : sig ... end
type fees_config = {
  1. minimal_fees : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  2. minimal_nanotez_per_gas_unit : Q.t;
  3. minimal_nanotez_per_byte : Q.t;
}
type validation_config =
  1. | Local of {
    1. context_path : string;
    }
  2. | Node
  3. | ContextIndex of Abstract_context_index.t
type nonce_config =
  1. | Deterministic
  2. | Random
type state_recorder_config =
  1. | Filesystem
  2. | Memory
type per_block_votes_config = {
  1. vote_file : string option;
  2. liquidity_baking_vote : Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote;
  3. adaptive_issuance_vote : Tezos_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote;
}
type t = {
  1. fees : fees_config;
  2. nonce : nonce_config;
  3. validation : validation_config;
  4. retries_on_failure : int;
  5. user_activated_upgrades : (int32 * Tezos_base.TzPervasives.Protocol_hash.t) list;
  6. per_block_votes : per_block_votes_config;
  7. force_apply : bool;
  8. force : bool;
  9. state_recorder : state_recorder_config;
  10. extra_operations : Operations_source.t option;
  11. dal_node_endpoint : Uri.t option;
  12. pre_emptive_forge_time : Tezos_base.TzPervasives.Time.System.Span.t;
}
val default_fees_config : fees_config
val default_validation_config : validation_config
val default_nonce_config : nonce_config
val default_retries_on_failure_config : int
val default_user_activated_upgrades : (int32 * Tezos_base.TzPervasives.Protocol_hash.t) list
val default_votes_config : per_block_votes_config
val default_force_apply : bool
val default_force : bool
val default_state_recorder_config : state_recorder_config
val default_extra_operations : Operations_source.t option
val default_pre_emptive_forge_time : Tezos_base.TzPervasives.Time.System.Span.t
val default_config : t
val make : ?minimal_fees:Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t -> ?minimal_nanotez_per_gas_unit:Q.t -> ?minimal_nanotez_per_byte:Q.t -> ?nonce:nonce_config -> ?context_path:string -> ?retries_on_failure:int -> ?user_activated_upgrades: (int32 * Tezos_base.TzPervasives.Protocol_hash.t) list -> ?votes:per_block_votes_config -> ?force_apply:bool -> ?force:bool -> ?state_recorder:state_recorder_config -> ?extra_operations:Operations_source.t -> ?dal_node_endpoint:Uri.t -> ?pre_emptive_forge_time:Tezos_base.TzPervasives.Time.System.Span.t -> unit -> t
val retries_on_failure_config_encoding : int Tezos_base.TzPervasives.Data_encoding.t
val user_activate_upgrades_config_encoding : (int32 * Tezos_base.TzPervasives.Protocol_hash.t) list Tezos_base.TzPervasives.Data_encoding.t
val pp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.