package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

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.