package tezos-baking-012-Psithaca

  1. Overview
  2. Docs
type per_block_votes = {
  1. liquidity_baking_escape_vote : bool option;
}
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:Tezos_error_monad.TzCore.error -> 'a option -> ('b, Tezos_error_monad.TzCore.error list) result
val check_file_exists : string -> (unit, Tezos_base.TzPervasives.error list) result
val read_liquidity_baking_escape_vote : per_block_vote_file:string -> (bool, Tezos_base.TzPervasives.error list) result Lwt.t
val read_liquidity_baking_escape_vote_no_fail : default:bool -> per_block_vote_file:string -> bool Lwt.t