package octez-smart-rollup-node-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Injector.Inj_operationSource

Hash with b58check encoding iop(53), for ids of injector operations

Sourcetype id = Id.t

Alias for L1 operations ids

Sourcetype errors = {
  1. count : int;
  2. last_error : Tezos_base.TzPervasives.tztrace option;
}

Structure to keep track of injection errors.

Sourcetype t = private {
  1. id : id;
  2. operation : operation;
  3. mutable errors : errors;
}

The type of L1 operations that are injected on Tezos. These have an id attached to them that allows tracking and retrieving their status.

Sourceval make : operation -> t

make op returns an L1 operation with the corresponding hash.

Sourceval encoding : t Tezos_base.TzPervasives.Data_encoding.t

Encoding for L1 operations

Sourceval pp : Format.formatter -> t -> unit

Pretty printer for L1 operations. Only the relevant part for the rollup node is printed.

Sourceval register_error : t -> Tezos_base.TzPervasives.tztrace -> unit

Register an error as occurring during injection of an operation. Its internal error counter is incremented.

OCaml

Innovation. Community. Security.