package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-shell-libs.shell-services/Tezos_shell_services/Preapply_result/index.html

Module Tezos_shell_services.Preapply_resultSource

Sourcetype '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

Sourceval empty : 'error t

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

Sourceval encoding : 'error list Tezos_base.TzPervasives.Data_encoding.t -> 'error t Tezos_base.TzPervasives.Data_encoding.t

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

OCaml

Innovation. Community. Security.