package tezos-base

  1. Overview
  2. Docs
Tezos: meta-package and pervasive type definitions for Tezos

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-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.t list;
    (*

    A valid sequence of 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.