package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.1.tar.gz
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f

doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Zk_rollup_repr/index.html

Module Tezos_raw_protocol_alpha.Zk_rollup_reprSource

Sourcemodule Address : sig ... end

A ZK rollup has an address starting with "epx1". ZKRU addresses have a length of 20 bytes, which means that they have an injective encoding as BLS12-381 scalars.

Sourceval to_scalar : t -> Zk_rollup_scalar.t

to_scalar address returns the scalar corresponding to address

Sourcetype pending_list =
  1. | Empty of {
    1. next_index : int64;
    }
    (*

    Empty pending list but starting point will be next_index when adding to the list

    *)
  2. | Pending of {
    1. next_index : int64;
    2. length : int;
    }
    (*

    Pending list with (next_index - length) .. (next_index - 1). length is encoded as a uint16.

    *)

Description of a ZK rollup's pending list.

Sourceval in_memory_size : t -> Cache_memory_helpers.sint

in_memory_size zk_rollup returns the number of bytes a zk_rollup address uses in RAM.

Sourcemodule Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.