2020-10-15 11:49:05 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package looprpc;
|
|
|
|
|
2021-05-25 14:33:44 +00:00
|
|
|
option go_package = "github.com/lightninglabs/loop/looprpc";
|
|
|
|
|
2020-10-15 11:49:05 +00:00
|
|
|
/*
|
|
|
|
Debug is a service that exposes endpoints intended for testing purposes. These
|
|
|
|
endpoints should not operate on mainnet, and should only be included if loop is
|
|
|
|
built with the dev build tag.
|
|
|
|
*/
|
|
|
|
service Debug {
|
|
|
|
/*
|
|
|
|
ForceAutoLoop is intended for *testing purposes only* and will not work on
|
|
|
|
mainnet. This endpoint ticks our autoloop timer, triggering automated
|
|
|
|
dispatch of a swap if one is suggested.
|
|
|
|
*/
|
2021-05-25 14:33:44 +00:00
|
|
|
rpc ForceAutoLoop (ForceAutoLoopRequest) returns (ForceAutoLoopResponse);
|
2020-10-15 11:49:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ForceAutoLoopRequest {
|
|
|
|
}
|
|
|
|
|
|
|
|
message ForceAutoLoopResponse {
|
|
|
|
}
|