Shell: add rpc to trigget a Get_current_event
This commit is contained in:
parent
6b3517e095
commit
e3111bc574
@ -744,6 +744,14 @@ module Make(Proto : PROTO)(Next_proto : PROTO) = struct
|
||||
~output: Data_encoding.empty
|
||||
RPC_path.(path / "request_operations")
|
||||
|
||||
let request_operations path =
|
||||
RPC_service.post_service
|
||||
~description:"Request the operations of your peers."
|
||||
~input: Data_encoding.empty
|
||||
~query: RPC_query.empty
|
||||
~output: Data_encoding.empty
|
||||
RPC_path.(path / "request_operations")
|
||||
|
||||
end
|
||||
|
||||
let live_blocks =
|
||||
|
@ -427,6 +427,11 @@ module Make(Proto : PROTO)(Next_proto : PROTO) : sig
|
||||
([ `POST ], 'a,
|
||||
'b , unit, unit, unit) RPC_service.t
|
||||
|
||||
val request_operations :
|
||||
('a, 'b) RPC_path.t ->
|
||||
([ `POST ], 'a,
|
||||
'b , unit, unit, unit) RPC_service.t
|
||||
|
||||
end
|
||||
|
||||
val live_blocks:
|
||||
|
Loading…
Reference in New Issue
Block a user