This commit is contained in:
hatim 2023-05-09 17:08:05 +02:00
parent 85543d316d
commit 6382cce337
17 changed files with 2409 additions and 2123 deletions

View file

@ -88,6 +88,12 @@ service LightningPub {
option (http_route) = "/api/admin/lnd/getinfo";
};
rpc SetMockInvoiceAsPaid(structs.SetMockInvoiceAsPaidRequest) returns (structs.Empty) {
option (auth_type) = "Admin";
option (http_method) = "post";
option (http_route) = "/api/admin/lnd/mock/invoice/paid";
}
// <App>
rpc AddApp(structs.AddAppRequest) returns (structs.AddAppResponse) {

View file

@ -16,6 +16,11 @@ message LndGetInfoRequest {
int64 nodeId = 1;
}
message SetMockInvoiceAsPaidRequest {
string invoice = 1;
int64 amount =2;
}
message LndGetInfoResponse {
string alias = 1;
}