package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

doc/octez-shell-libs.mockup-registration/Tezos_mockup_registration/Mockup_args/Chain_id/index.html

Module Mockup_args.Chain_idSource

Sourceval of_string : string -> Tezos_base.TzPervasives.Chain_id.t

of_string s converts any string to its valid chain_id representation. ** ** This function is useful to get valid, but dummy, chain identifiers out of ** command lines in the context of a mockup client.

Sourceval dummy : Tezos_base.TzPervasives.Chain_id.t

dummy is a valid dummy chain identifier. ** ** Do not use it outside of the context of a mockup client.

Sourceval choose : from_config_file:Tezos_base.TzPervasives.Chain_id.t option -> Tezos_base.TzPervasives.Chain_id.t

choose ~from_config_file ** produces a valid chain id from the optionally given one. ** ** The value from the command line, if any, has highest precedence, over the ** one from the config file. ** When both values are None, it uses the dummy.

OCaml

Innovation. Community. Security.