package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

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