package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/octez-libs.base/Tezos_base/Mempool/index.html

Module Tezos_base.MempoolSource

Tezos Shell Module - Mempool, a.k.a. the operations safe to be broadcast.

Sourcetype t = {
  1. known_valid : Tezos_crypto.Hashed.Operation_hash.Set.t;
    (*

    Set of valid operations on top of the current head.

    *)
  2. pending : Tezos_crypto.Hashed.Operation_hash.Set.t;
    (*

    Set of known not-invalid operation.

    *)
}
Sourcetype mempool = t
Sourceval bounded_encoding : ?max_operations:int -> unit -> mempool Data_encoding.t
Sourceval empty : mempool

Empty mempool.

Sourceval is_empty : mempool -> bool

is_empty mempool returns true if and only if mempool is empty.

cons_valid oph t prepends oph to the known_valid field of t.

Remove an operation from all the fields of a mempool.

OCaml

Innovation. Community. Security.