package tezos-baking-alpha

  1. Overview
  2. Docs
type per_block_votes = {
  1. liquidity_baking_escape_vote : bool option;
}
val per_block_votes_encoding : per_block_votes Data_encoding.encoding
type Tezos_base__TzPervasives.error +=
  1. | Block_vote_file_not_found of string
type Tezos_base__TzPervasives.error +=
  1. | Block_vote_file_invalid of string
type Tezos_base__TzPervasives.error +=
  1. | Block_vote_file_wrong_content of string
type Tezos_base__TzPervasives.error +=
  1. | Block_vote_file_missing_liquidity_baking_escape_vote of string
val traced_option_to_result : error:'a -> 'b option -> ('b, 'a Tezos_error_monad.Error_monad.TzTrace.trace) result
val check_file_exists : string -> (unit, Tezos_error_monad.TzCore.error list) result
val read_liquidity_baking_escape_vote : per_block_vote_file:string -> (bool, Tezos_error_monad.TzCore.error list) result Lwt.t
val read_liquidity_baking_escape_vote_no_fail : default:bool -> per_block_vote_file:string -> bool Lwt.t