Octez_agnostic_baker.Protocol_pluginstype proto_plugin = (module Protocol_plugin_sig.S)val register : proto_plugin -> unitRegister a protocol plugin for a specific protocol to be used by the agnostic baker.
val registered_protocols : unit -> Tezos_base.TzPervasives.Protocol_hash.t listReturns the list of registered protocols.
val last_registered : unit -> Tezos_base.TzPervasives.Protocol_hash.tReturns the last registered protocol.
NOTE: This is the last protocol with which the agnostic baker is linked against, and this is decided only by the order in manifest/main.ml.
val proto_plugin_for_protocol :
Tezos_base.TzPervasives.Protocol_hash.t ->
proto_plugin Tezos_base.TzPervasives.tzresultReturn the protocol plugin for a given protocol (or an error if not supported).