package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_raw_protocol_alpha.Tx_rollup_inbox_reprSource

Sourcemodule Merkle : sig ... end

See Merkle_List for the documentation of those functions.

Sourcetype 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.

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

Innovation. Community. Security.