package tezos-protocol-016-PtMumbai

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/tezos-protocol-016-PtMumbai.lifted/Tezos_protocol_016_PtMumbai_lifted/Lifted_protocol/Mempool/index.html

Module Lifted_protocol.Mempool

type conflict_handler = existing_operation:(Tezos_crypto.Hashed.Operation_hash.t * operation) -> new_operation:(Tezos_crypto.Hashed.Operation_hash.t * operation) -> [ `Keep | `Replace ]
type operation_conflict = Tezos_protocol_environment_016_PtMumbai.Lift(Tezos_protocol_016_PtMumbai.Protocol).Mempool.operation_conflict =
  1. | Operation_conflict of {
    1. existing : Tezos_crypto.Hashed.Operation_hash.t;
    2. new_operation : Tezos_crypto.Hashed.Operation_hash.t;
    }
type add_result = Tezos_protocol_environment_016_PtMumbai.Lift(Tezos_protocol_016_PtMumbai.Protocol).Mempool.add_result =
  1. | Added
  2. | Replaced of {
    1. removed : Tezos_crypto.Hashed.Operation_hash.t;
    }
  3. | Unchanged
type add_error = Tezos_protocol_environment_016_PtMumbai.Lift(Tezos_protocol_016_PtMumbai.Protocol).Mempool.add_error =
  1. | Validation_error of Tezos_base.TzPervasives.Error_monad.tztrace
  2. | Add_conflict of operation_conflict
val encoding : t Tezos_base.TzPervasives.Data_encoding.t
val add_operation : ?check_signature:bool -> ?conflict_handler:conflict_handler -> validation_info -> t -> (Tezos_crypto.Hashed.Operation_hash.t * operation) -> (t * add_result, add_error) result Lwt.t
val remove_operation : t -> Tezos_crypto.Hashed.Operation_hash.t -> t
val merge : ?conflict_handler:conflict_handler -> t -> t -> (t, merge_error) result
val operations : t -> operation Tezos_crypto.Hashed.Operation_hash.Map.t
val init : Tezos_protocol_environment__.Environment_context.Context.t -> Tezos_crypto.Hashed.Chain_id.t -> head_hash:Tezos_crypto.Hashed.Block_hash.t -> head:Tezos_base.TzPervasives.Block_header.shell_header -> cache: [ `Force_load | `Load | `Lazy | `Inherited of Tezos_protocol_environment__.Environment_context.Context.block_cache * Tezos_crypto.Hashed.Context_hash.t ] -> (validation_info * t) Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.