Module Mavryk_baking_001_PtAtLas.Baking_lib

API

val bake : Mavryk_client_001_PtAtLas.Protocol_client_context.full -> ?minimal_fees:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t -> ?minimal_nanomav_per_gas_unit:Q.t -> ?minimal_nanomav_per_byte:Q.t -> ?force_apply:bool -> ?force:bool -> ?minimal_timestamp:bool -> ?extra_operations:Baking_configuration.Operations_source.t -> ?monitor_node_mempool:bool -> ?context_path:string -> ?dal_node_endpoint:Uri.t -> ?count:int -> ?votes:Baking_configuration.per_block_votes_config -> ?state_recorder:Baking_configuration.state_recorder_config -> Baking_state.consensus_key list -> unit Mavryk_base.TzPervasives.tzresult Lwt.t
val propose : Mavryk_client_001_PtAtLas.Protocol_client_context.full -> ?minimal_fees:Mavryk_protocol_001_PtAtLas.Protocol.Alpha_context.Tez.t -> ?minimal_nanomav_per_gas_unit:Q.t -> ?minimal_nanomav_per_byte:Q.t -> ?force_apply:bool -> ?force:bool -> ?minimal_timestamp:bool -> ?extra_operations:Baking_configuration.Operations_source.t -> ?context_path:string -> ?state_recorder:Baking_configuration.state_recorder_config -> Baking_state.consensus_key list -> unit Mavryk_base.TzPervasives.tzresult Lwt.t

repropose tries to bake a new block proposal on the same level as the current head. If provided, the proposal will use the force_round argument as its reproposal round, otherwise the current tenderbake round will be used.