Module S.Mempool

val encoding : Mempool.t Mavryk_base.TzPervasives.Data_encoding.t
val pending_operations : ('a, 'b) Mavryk_rpc.Path.t -> ([ `GET ], 'a, 'b, < branch_delayed : bool ; branch_refused : bool ; outdated : bool ; refused : bool ; validated : bool ; validation_passes : int list ; version : version >, unit, version * Mempool.t) Mavryk_rpc.Service.t

Define RPC GET /chains/chain/mempool/pending_operations

val ban_operation : ('a, 'b) Mavryk_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, Mavryk_base.TzPervasives.Operation_hash.t, unit) Mavryk_rpc.Service.t

Define RPC POST /chains/chain/mempool/ban_operation

val unban_operation : ('a, 'b) Mavryk_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, Mavryk_base.TzPervasives.Operation_hash.t, unit) Mavryk_rpc.Service.t

Define RPC POST /chains/chain/mempool/unban_operation

val unban_all_operations : ('a, 'b) Mavryk_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, unit, unit) Mavryk_rpc.Service.t

Define RPC POST /chains/chain/mempool/unban_all_operations

val monitor_operations : ('a, 'b) Mavryk_rpc.Path.t -> ([ `GET ], 'a, 'b, < branch_delayed : bool ; branch_refused : bool ; outdated : bool ; refused : bool ; validated : bool ; validation_passes : int list ; version : version >, unit, version * ((Mavryk_base.TzPervasives.Operation_hash.t * Fake_protocol.operation) * Mavryk_base.TzPervasives.error Mavryk_base.TzPervasives.trace option) list) Mavryk_rpc.Service.t

Define RPC GET /chains/chain/mempool/monitor_operations

val get_filter : ('a, 'b) Mavryk_rpc.Path.t -> ([ `GET ], 'a, 'b, < include_default : bool >, unit, Mavryk_base.TzPervasives.Data_encoding.json) Mavryk_rpc.Service.t

Define RPC GET /chains/chain/mempool/filter

val set_filter : ('a, 'b) Mavryk_rpc.Path.t -> ([ `POST ], 'a, 'b, unit, Mavryk_base.TzPervasives.Data_encoding.json, Mavryk_base.TzPervasives.Data_encoding.json) Mavryk_rpc.Service.t

Define RPC POST /chains/chain/mempool/filter

val request_operations : ('a, 'b) Mavryk_rpc.Path.t -> ([ `POST ], 'a, 'b, < peer_id : Mavryk_base.P2p_peer_id.t option >, unit, unit) Mavryk_rpc.Service.t

Define RPC POST /chains/chain/mempool/request_operations