No_plugin.Mempooltype t = Proto.Mempool.ttype 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 = | Operation_conflict of {existing : Tezos_crypto.Hashed.Operation_hash.t;new_operation : Tezos_crypto.Hashed.Operation_hash.t;}type add_error = | Validation_error of Tezos_base.TzPervasives.Error_monad.tztrace| Add_conflict of operation_conflictval encoding : t Tezos_base.TzPervasives.Data_encoding.tval remove_operation : t -> Tezos_crypto.Hashed.Operation_hash.t -> tval merge :
?conflict_handler:conflict_handler ->
t ->
t ->
(t, merge_error) Stdlib.resultval operations : t -> operation Tezos_crypto.Hashed.Operation_hash.Map.tval partial_op_validation :
?check_signature:bool ->
validation_info ->
operation ->
(unit -> unit Tezos_base.TzPervasives.Error_monad.tzresult) list
Tezos_base.TzPervasives.tzresult
Lwt.tval add_valid_operation :
?conflict_handler:conflict_handler ->
t ->
(Tezos_base.TzPervasives.Operation_hash.t * operation) ->
(t * add_result, add_error) Stdlib.resultval add_operation :
?check_signature:bool ->
?conflict_handler:conflict_handler ->
validation_info ->
t ->
(Tezos_base.TzPervasives.Operation_hash.t * operation) ->
(t * add_result, add_error) Stdlib.result Lwt.tval 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