package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

type t = {
  1. known_valid : Tezos_crypto.Operation_hash.t list;
    (*

    A valid sequence of operations on top of the current head.

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

    Set of known not-invalid operation.

    *)
}
type mempool = t
val encoding : mempool Data_encoding.t
val bounded_encoding : ?max_operations:int -> unit -> mempool Data_encoding.t
val empty : mempool

Empty mempool.

OCaml

Innovation. Community. Security.