Module Mavryk_baking_alpha.Baking_highwatermarks

type highwatermark = {
  1. round : Mavryk_protocol_alpha.Protocol.Alpha_context.Round.t;
  2. level : int32;
}
type Mavryk_base.TzPervasives.error +=
  1. | Block_previously_baked of highwatermark
type Mavryk_base.TzPervasives.error +=
  1. | Block_previously_preattested of highwatermark
type Mavryk_base.TzPervasives.error +=
  1. | Block_previously_attested of highwatermark
type t
val may_sign_preattestation : t -> delegate:Mavryk_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Mavryk_protocol_alpha.Protocol.Alpha_context.Round.t -> bool
val may_sign_attestation : t -> delegate:Mavryk_base.TzPervasives.Signature.public_key_hash -> level:int32 -> round:Mavryk_protocol_alpha.Protocol.Alpha_context.Round.t -> bool