package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-shell-libs.protocol-updater/Tezos_protocol_updater/Registered_protocol/index.html

Module Tezos_protocol_updater.Registered_protocolSource

Sourcemodule type T = sig ... end
Sourcetype t = (module T)
Sourceval mem : Tezos_base.TzPervasives.Protocol_hash.t -> bool
Sourceval seq : unit -> t Tezos_base.TzPervasives.Seq.t
Sourceval get : Tezos_base.TzPervasives.Protocol_hash.t -> t option

get hash searches the protocol of the given hash in the registered protocols. This function also activates the logging facilty of the returned protocol.

Sourceval get_result : Tezos_base.TzPervasives.Protocol_hash.t -> t Tezos_base.TzPervasives.tzresult Lwt.t

Same as get but with the result return type.

Sourceval seq_embedded : unit -> Tezos_base.TzPervasives.Protocol_hash.t Tezos_base.TzPervasives.Seq.t
Sourceval get_embedded_sources : Tezos_base.TzPervasives.Protocol_hash.t -> Tezos_base.TzPervasives.Protocol.t option