package octez-protocol-017-PtNairob-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type highwatermark = {
  1. round : Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t;
  2. level : int32;
}
type Tezos_base.TzPervasives.error +=
  1. | Block_previously_baked of highwatermark
type Tezos_base.TzPervasives.error +=
  1. | Block_previously_preendorsed of highwatermark
type Tezos_base.TzPervasives.error +=
  1. | Block_previously_endorsed of highwatermark
type t
val encoding : t Tezos_base.TzPervasives.Data_encoding.t
val load : Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> t Tezos_base.TzPervasives.tzresult Lwt.t
val may_sign_block : Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> bool Tezos_base.TzPervasives.tzresult Lwt.t
val may_sign_preendorsement : t -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> bool
val may_sign_endorsement : t -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> bool
val record_block : Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_preendorsement : Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_endorsement : Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_all_preendorsements : t -> Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegates: Tezos_protocol_017_PtNairob.Protocol.Alpha_context.public_key_hash list -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_all_endorsements : t -> Tezos_client_017_PtNairob.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegates: Tezos_protocol_017_PtNairob.Protocol.Alpha_context.public_key_hash list -> level:int32 -> round:Tezos_protocol_017_PtNairob.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.