package tezos-protocol-015-PtLimaPt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-protocol-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Sc_rollup_repr/index.html

Module Tezos_raw_protocol_015_PtLimaPt.Sc_rollup_reprSource

The basic components of an optimistic rollup for smart-contracts.

An optimistic rollup for smart-contracts is made of two main components:

  • a proof generating virtual machine (PVM), which provides the essential semantics for the rollup operations to be validated by the layer 1 in case of dispute about a commitment ;
  • a database which maintains the cemented operations of the rollup as well as the potentially-disputed operations.
Sourcemodule Address : sig ... end

A smart-contract rollup has an address starting with "scr1".

Sourcemodule Internal_for_tests : sig ... end
Sourcemodule State_hash : sig ... end
Sourcemodule Number_of_ticks : sig ... end

Number of ticks computed by a single commitment. This represents a claim about the state of the PVM, which can be disputed as part of a commitment dispute.

A smart contract rollup is identified by its address.

Sourceval in_memory_size : t -> Cache_memory_helpers.sint

in_memory_size sc_rollup returns the number of bytes sc_rollup uses in RAM.

The data model uses an index of these addresses.

OCaml

Innovation. Community. Security.