Dal_slot_repr.Header
For Layer-1, a slot is identified by the level at which it is published and the slot's index.
For Layer-1, a slot is described by its slot id
and the slot's commitment.
val id_encoding : id Mavryk_protocol_environment_alpha.Data_encoding.t
encoding for values of type id
.
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
encoding for values of type t
.
val pp_id : Mavryk_protocol_environment_alpha.Format.formatter -> id -> unit
pretty-printer for values of type id
.
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unit
pretty-printer for values of type t
.
val verify_commitment :
Mavryk_protocol_environment_alpha.Dal.t ->
Commitment.t ->
Commitment_proof.t ->
bool Mavryk_protocol_environment_alpha.Error_monad.tzresult
verify_commitment cryptobox commitment commitment_proof
check that for the given commitment, the commitment proof is correct using the cryptbox
primitives.