lnrpc: fix docs on ListPaymentsRequest

This commit is contained in:
yyforyongyu committed 2024-01-25 19:49:29 +08:00
1 parent 758ae6fbec
commit cb2c2e89dd
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -13542,10 +13542,10 @@ type ListPaymentsRequest struct {
// increase the run time of the call significantly on systems that have a lot // increase the run time of the call significantly on systems that have a lot
// of payments, as all of them have to be iterated through to be counted. // of payments, as all of them have to be iterated through to be counted.
CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"` CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"`
// If set, returns all invoices with a creation date greater than or equal // If set, returns all payments with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"` CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"`
// If set, returns all invoices with a creation date less than or equal to // If set, returns all payments with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"` CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"`
} }
+2 -2
View File
@@ -4138,11 +4138,11 @@ message ListPaymentsRequest {
*/ */
bool count_total_payments = 5; bool count_total_payments = 5;
// If set, returns all invoices with a creation date greater than or equal // If set, returns all payments with a creation date greater than or equal
// to it. Measured in seconds since the unix epoch. // to it. Measured in seconds since the unix epoch.
uint64 creation_date_start = 6; uint64 creation_date_start = 6;
// If set, returns all invoices with a creation date less than or equal to // If set, returns all payments with a creation date less than or equal to
// it. Measured in seconds since the unix epoch. // it. Measured in seconds since the unix epoch.
uint64 creation_date_end = 7; uint64 creation_date_end = 7;
} }
+2 -2
View File
@@ -2209,7 +2209,7 @@
}, },
{ {
"name": "creation_date_start", "name": "creation_date_start",
"description": "If set, returns all invoices with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.", "description": "If set, returns all payments with a creation date greater than or equal\nto it. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",
@@ -2217,7 +2217,7 @@
}, },
{ {
"name": "creation_date_end", "name": "creation_date_end",
"description": "If set, returns all invoices with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.", "description": "If set, returns all payments with a creation date less than or equal to\nit. Measured in seconds since the unix epoch.",
"in": "query", "in": "query",
"required": false, "required": false,
"type": "string", "type": "string",