package octez-injector

  1. Overview
  2. Docs

Parameters

Signature

type proto_client = (module Injector_sigs.PROTOCOL_CLIENT with type operation = Parameters.Operation.t and type state = Parameters.state)

Register a protocol client for a specific protocol to be used by the injector.

val proto_client_for_protocol : Tezos_base.TzPervasives.Protocol_hash.t -> proto_client

Return the protocol client for a given protocol.

  • raises Protocol_not_found

    if the protocol is not known by the injector. In this case the injector will not be able to inject operations in blocks of this protocol.

OCaml

Innovation. Community. Security.