package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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.