package tezos-protocol-013-PtJakart

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Merkle : sig ... end

See Merkle_List for the documentation of those functions.

type t = {
  1. inbox_length : int;
  2. cumulated_size : int;
  3. merkle_root : Merkle.root;
}

The view of an inbox: stores the cumulated_size in bytes for the inbox, the inbox_length (i.e., the number of messages), and the cumulative hash of the inbox contents. For newly created inboxes, the hash is initialized as an array 32 null byte.

size is the number of bytes necessary to store an inbox in the layer-1 storage.

val (=) : t -> t -> bool
val empty : t
OCaml

Innovation. Community. Security.