package tezos-shell-services

  1. Overview
  2. Docs
type 'error t = {
  1. applied : (Tezos_base.TzPervasives.Operation_hash.t * Tezos_base.Operation.t) list;
    (*

    Applied operations

    *)
  2. refused : (Tezos_base.Operation.t * 'error list) Tezos_base.TzPervasives.Operation_hash.Map.t;
    (*

    Refused operations, for example because of an invalid signature

    *)
  3. outdated : (Tezos_base.Operation.t * 'error list) Tezos_base.TzPervasives.Operation_hash.Map.t;
    (*

    Outdated operations, for example a late endorsement

    *)
  4. branch_refused : (Tezos_base.Operation.t * 'error list) Tezos_base.TzPervasives.Operation_hash.Map.t;
    (*

    Branch refused operations, for example because of insufficient balance

    *)
  5. branch_delayed : (Tezos_base.Operation.t * 'error list) Tezos_base.TzPervasives.Operation_hash.Map.t;
    (*

    Branch delayed operations, for example because of a timestamp in the future

    *)
}

A container for classified operations

val empty : 'error t

empty t returns an empty instance of t: all collections * are initialized empty

encoding err_enc t, where err_enc is the encoding for errors, * returns an encoding for t

OCaml

Innovation. Community. Security.