Module Mavryk_baking_alpha.Baking_configuration

module Operations_source : sig ... end
type fees_config = {
  1. minimal_fees : Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t;
  2. minimal_nanomav_per_gas_unit : Q.t;
  3. minimal_nanomav_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 : Mavryk_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote;
  3. adaptive_issuance_vote : Mavryk_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 * Mavryk_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 : Mavryk_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 * Mavryk_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 : Mavryk_base.TzPervasives.Time.System.Span.t
val default_config : t
val make : ?minimal_fees:Mavryk_protocol_alpha.Protocol.Alpha_context.Tez.t -> ?minimal_nanomav_per_gas_unit:Q.t -> ?minimal_nanomav_per_byte:Q.t -> ?nonce:nonce_config -> ?context_path:string -> ?retries_on_failure:int -> ?user_activated_upgrades: (int32 * Mavryk_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:Mavryk_base.TzPervasives.Time.System.Span.t -> unit -> t
val fees_config_encoding : fees_config Mavryk_base.TzPervasives.Data_encoding.t
val validation_config_encoding : validation_config Mavryk_base.TzPervasives.Data_encoding.t
val nonce_config_encoding : nonce_config Mavryk_base.TzPervasives.Data_encoding.t
val retries_on_failure_config_encoding : int Mavryk_base.TzPervasives.Data_encoding.t
val user_activate_upgrades_config_encoding : (int32 * Mavryk_base.TzPervasives.Protocol_hash.t) list Mavryk_base.TzPervasives.Data_encoding.t
val liquidity_baking_toggle_vote_config_encoding : Mavryk_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote Mavryk_base.TzPervasives.Data_encoding.t
val adaptive_issuance_vote_config_encoding : Mavryk_protocol_alpha.Protocol.Alpha_context.Per_block_votes.per_block_vote Mavryk_base.TzPervasives.Data_encoding.t
val per_block_votes_config_encoding : per_block_votes_config Mavryk_base.TzPervasives.Data_encoding.t
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit