package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-l2-libs.smart-rollup/Octez_smart_rollup/Installer_config/index.html

Module Octez_smart_rollup.Installer_configSource

Handling of YAML configuration file used by the kernel installer.

A configuration has the form: ``` instructions:

  • set: value: <hexadecimal value> to: <string> ... ```
Sourcetype Tezos_base.TzPervasives.error +=
  1. | Installer_config_yaml_error of string
  2. | Installer_config_invalid
  3. | Installer_config_invalid_instruction of int
Sourcetype instr =
  1. | Set of {
    1. value : string;
    2. to_ : string;
    }
Sourcetype t = instr list
Sourceval pp : Format.formatter -> t -> unit
Sourceval instr_encoding : instr Tezos_base.TzPervasives.Data_encoding.t
Sourceval encoding : t Tezos_base.TzPervasives.Data_encoding.t
Sourceval parse_yaml : string -> t Tezos_base.TzPervasives.tzresult

parse_yaml content parses content as a YAML representing the configuration of the kernel installer, and returns the corresponding set of instructions.

generate_yaml instrs generates the YAML representation of instrs.

Sourceval emit_yaml : t -> string Tezos_base.TzPervasives.tzresult

emit_yaml instrs generates the YAML representation of instrs in textual format.

OCaml

Innovation. Community. Security.