package octez-injector

  1. Overview
  2. Docs
type state

The type of the state that the injector can access

A module which contains the different tags for the injector

A module for the injector operations

val events_section : string list

Where to put the events for this injector

val table_estimated_size : Tag.t -> int

Coarse approximation for the number of operation of each tag we expect to inject for each block.

Action (see retry_action) to be taken on unsuccessful operation (see unsuccessful_status).

val operation_tag : Operation.t -> Tag.t

The tag of a manager operation. This is used to send operations to the correct queue automatically (when signer is not provided) and to recover persistent information.

Returns the fee_parameter (to compute fee w.r.t. gas, size, etc.) and the caps of fee and burn for each operation.

val batch_must_succeed : Operation.t list -> [ `All | `At_least_one ]

When injecting the given operations in an L1 batch, if batch_must_succeed operations returns `All then all the operations must succeed in the simulation of injection. If it returns `At_least_one, at least one operation in the list operations must be successful in the simulation. In any case, only operations which are known as successful will be included in the injected L1 batch. Note: Returning `At_least_one allows to incrementally build "or-batches" by iteratively removing operations that fail from the desired batch.

OCaml

Innovation. Community. Security.