Module Main.Mempool

type t
type validation_info
type conflict_handler = existing_operation: (Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t * operation) -> new_operation: (Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t * operation) -> [ `Keep | `Replace ]
type operation_conflict =
  1. | Operation_conflict of {
    1. existing : Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t;
    2. new_operation : Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t;
    }
type add_result =
  1. | Added
  2. | Replaced of {
    1. removed : Mavryk_protocol_environment_001_PtAtLas.Operation_hash.t;
    }
  3. | Unchanged
type merge_error =
  1. | Incompatible_mempool
  2. | Merge_conflict of operation_conflict