package tezt-tezos

  1. Overview
  2. Docs
module Cryptobox = Tezos_crypto_dal.Cryptobox
module Parameters : sig ... end
val endpoint : Dal_node.t -> string
type slot

Abstract version of a slot to deal with messages content which are smaller than the expected size of a slot.

val make_slot : ?padding:bool -> slot_size:int -> string -> slot

make_slot ?padding ~slot_size content produces a slot. If padding=true (which is the default), then the content is padded to reach the expected size given by slot_size (which is usually obtained from Cryptobox.parameters).

val content_of_slot : slot -> string

content_of_slot slot retrieves the original content of a slot by removing the padding.

module RPC_legacy : sig ... end
module RPC : sig ... end
val make : ?on_error:(string -> Cryptobox.t) -> Cryptobox.parameters -> Cryptobox.t
module Commitment : sig ... end
module Committee : sig ... end
module Check : sig ... end
OCaml

Innovation. Community. Security.