Empty.Mempool
type t = Make(Fake_protocol)(Fake_protocol).Mempool.t = {
validated : (Mavryk_base.TzPervasives.Operation_hash.t
* Fake_protocol.operation)
list;
refused : (Fake_protocol.operation * Mavryk_base.TzPervasives.error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
outdated : (Fake_protocol.operation * Mavryk_base.TzPervasives.error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
branch_refused : (Fake_protocol.operation * Mavryk_base.TzPervasives.error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
branch_delayed : (Fake_protocol.operation * Mavryk_base.TzPervasives.error list)
Mavryk_base.TzPervasives.Operation_hash.Map.t;
unprocessed : Fake_protocol.operation
Mavryk_base.TzPervasives.Operation_hash.Map.t;
}
val pending_operations :
Mavryk_rpc.Context.simple ->
?chain:chain ->
?version:version ->
?validated:bool ->
?branch_delayed:bool ->
?branch_refused:bool ->
?refused:bool ->
?outdated:bool ->
?validation_passes:int list ->
unit ->
t Mavryk_base.TzPervasives.tzresult Lwt.t
Call RPC GET /chains/chain
/mempool/pending_operations
version
is 0
.validated
is true
.branch_delayed
is true
.branch_refused
is true
.refused
is true
.outdated
is true
.validation_passes
is []
val ban_operation :
Mavryk_rpc.Context.simple ->
?chain:chain ->
Mavryk_base.TzPervasives.Operation_hash.t ->
unit Mavryk_error_monad.Error_monad.tzresult Lwt.t
Call RPC POST /chains/chain
/mempool/ban_operation
val unban_operation :
Mavryk_rpc.Context.simple ->
?chain:chain ->
Mavryk_base.TzPervasives.Operation_hash.t ->
unit Mavryk_error_monad.Error_monad.tzresult Lwt.t
Call RPC POST /chains/chain
/mempool/unban_operation
val unban_all_operations :
Mavryk_rpc.Context.simple ->
?chain:chain ->
unit ->
unit Mavryk_error_monad.Error_monad.tzresult Lwt.t
Call RPC POST /chains/chain
/mempool/unban_all_operations
val monitor_operations :
Mavryk_rpc.Context.streamed ->
?chain:chain ->
?version:version ->
?validated:bool ->
?branch_delayed:bool ->
?branch_refused:bool ->
?refused:bool ->
?outdated:bool ->
?validation_passes:int list ->
unit ->
(((Mavryk_base.TzPervasives.Operation_hash.t * Fake_protocol.operation)
* Mavryk_base.TzPervasives.error Mavryk_base.TzPervasives.trace option)
list
Lwt_stream.t
* Mavryk_rpc.Context.stopper)
Mavryk_base.TzPervasives.tzresult
Lwt.t
Call RPC GET /chains/chain
/mempool/monitor_operations
val request_operations :
Mavryk_rpc.Context.simple ->
?chain:chain ->
?peer_id:Mavryk_base.P2p_peer.Id.t ->
unit ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
Call RPC POST /chains/chain
/mempool/request_operations