package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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