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 = | Operation_conflict of {existing : Tezos_crypto.Hashed.Operation_hash.t;new_operation : Tezos_crypto.Hashed.Operation_hash.t;
}
type add_result = | Added| Replaced of {removed : Tezos_crypto.Hashed.Operation_hash.t;
}| Unchanged
Sourcetype add_error = | Validation_error of Tezos_base.TzPervasives.Error_monad.tztrace| Add_conflict of operation_conflict
val encoding : t Tezos_base.TzPervasives.Data_encoding.tval remove_operation : t -> Tezos_crypto.Hashed.Operation_hash.t -> tval operations : t -> operation Tezos_crypto.Hashed.Operation_hash.Map.t