Mavryk_protocol_environment_alpha.Dal
val parameters_encoding : parameters Data_encoding.t
val make : parameters -> (t, [> `Fail of string ]) Pervasives.result
val parameters : t -> parameters
type commitment = Mavryk_crypto_dal.Cryptobox.Verifier.commitment
module Commitment : sig ... end
type commitment_proof = Mavryk_crypto_dal.Cryptobox.Verifier.commitment_proof
module Commitment_proof : sig ... end
val verify_commitment : t -> commitment -> commitment_proof -> bool
type page_proof = Mavryk_crypto_dal.Cryptobox.Verifier.page_proof
val page_proof_encoding : page_proof Data_encoding.t
val pages_per_slot : parameters -> int
val verify_page :
t ->
commitment ->
page_index:int ->
page ->
page_proof ->
(bool, [> `Page_length_mismatch | `Segment_index_out_of_range ]) Result.t