package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type highwatermark = {
  1. round : Tezos_protocol_alpha.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_preattested of highwatermark
type Tezos_base.TzPervasives.error +=
  1. | Block_previously_attested of highwatermark
type t
val load : Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> t Tezos_base.TzPervasives.tzresult Lwt.t
val may_sign_block : Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> bool Tezos_base.TzPervasives.tzresult Lwt.t
val may_sign_preattestation : t -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> bool
val may_sign_attestation : t -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> bool
val record_block : Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_preattestation : Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_attestation : Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegate:Tezos_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_all_preattestations : t -> Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegates:Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash list -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val record_all_attestations : t -> Tezos_client_alpha.Protocol_client_context.full -> [ `Highwatermarks ] Baking_files.location -> delegates:Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash list -> level:int32 -> round:Tezos_protocol_alpha.Protocol.Alpha_context.Round.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.