package tezos-baking-alpha

  1. Overview
  2. Docs
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. | Disabled
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_crypto.Protocol_hash.t) list;
  6. liquidity_baking_escape_vote : bool;
  7. per_block_vote_file : string option;
  8. force : bool;
  9. state_recorder : state_recorder_config;
  10. extra_operations : Operations_source.t option;
}
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_crypto.Protocol_hash.t) list
val default_liquidity_baking_escape_vote : bool
val default_force : bool
val default_state_recorder_config : state_recorder_config
val default_extra_operations : Operations_source.t option
val default_per_block_vote_file : string option
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_crypto.Protocol_hash.t) list -> ?liquidity_baking_escape_vote:bool -> ?per_block_vote_file:string -> ?force:bool -> ?state_recorder:state_recorder_config -> ?extra_operations:Operations_source.t -> unit -> t
val fees_config_encoding : fees_config Data_encoding.t
val validation_config_encoding : validation_config Data_encoding.t
val nonce_config_encoding : nonce_config Data_encoding.t
val retries_on_failure_config_encoding : int Data_encoding.t
val user_activate_upgrades_config_encoding : (int32 * Tezos_crypto.Protocol_hash.t) list Data_encoding.t
val liquidity_baking_escape_vote_config_encoding : bool Data_encoding.t
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.