mock lnd
This commit is contained in:
parent
85543d316d
commit
6382cce337
17 changed files with 2409 additions and 2123 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@ message LndGetInfoRequest {
|
|||
int64 nodeId = 1;
|
||||
}
|
||||
|
||||
message SetMockInvoiceAsPaidRequest {
|
||||
string invoice = 1;
|
||||
int64 amount =2;
|
||||
}
|
||||
|
||||
message LndGetInfoResponse {
|
||||
string alias = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue