Octez_protocol_compiler.Compiler
Override the default 'Env.Persistent_signature.load' with a lookup in locally defined hashtable.
val preloaded_cmis :
Persistent_env.Persistent_signature.t
Tezos_base.TzPervasives.String.Hashtbl.t
Compilation environment.
tezos_protocol_env
defines the list of cmi
available while compiling the protocol version. The cmi
are packed into the octez-node
binary by using ocp-ocamlres
, see the Makefile.
register_env
defines a complementary list of cmi
available while compiling the generated register.ml
file (that register the protocol first-class module into the Updater.versions
hashtable).
Helpers
Main
val pp_protocol_hash_result :
Stdlib.Format.formatter ->
(Tezos_base.TzPervasives.Protocol_hash.t
* Tezos_base.TzPervasives.Protocol_hash.t option) ->
unit
val main : driver -> string -> unit