lnrpc: update invoice request expiry comment

This commit is contained in:
bruwbird committed 2023-01-12 09:17:34 +09:00
1 parent 380eb4af83
commit 71f2615190
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -188,7 +188,7 @@ type AddHoldInvoiceRequest struct {
// payment (memo) is too long to naturally fit within the description field
// of an encoded payment request.
DescriptionHash []byte `protobuf:"bytes,4,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
// Payment request expiry time in seconds. Default is 3600 (1 hour).
// Payment request expiry time in seconds. Default is 86400 (24 hours).
Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
// Fallback on-chain address.
FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
+1 -1
View File
@@ -84,7 +84,7 @@ message AddHoldInvoiceRequest {
*/
bytes description_hash = 4;
// Payment request expiry time in seconds. Default is 3600 (1 hour).
// Payment request expiry time in seconds. Default is 86400 (24 hours).
int64 expiry = 5;
// Fallback on-chain address.
+2 -2
View File
@@ -261,7 +261,7 @@
"expiry": {
"type": "string",
"format": "int64",
"description": "Payment request expiry time in seconds. Default is 3600 (1 hour)."
"description": "Payment request expiry time in seconds. Default is 86400 (24 hours)."
},
"fallback_addr": {
"type": "string",
@@ -493,7 +493,7 @@
"expiry": {
"type": "string",
"format": "int64",
"description": "Payment request expiry time in seconds. Default is 3600 (1 hour)."
"description": "Payment request expiry time in seconds. Default is 86400 (24 hours)."
},
"fallback_addr": {
"type": "string",
+1 -1
View File
@@ -11632,7 +11632,7 @@ type Invoice struct {
// of an encoded payment request. When using REST, this field must be encoded
// as base64.
DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
// Payment request expiry time in seconds. Default is 3600 (1 hour).
// Payment request expiry time in seconds. Default is 86400 (24 hours).
Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"`
// Fallback on-chain address.
FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
+1 -1
View File
@@ -3387,7 +3387,7 @@ message Invoice {
*/
bytes description_hash = 10;
// Payment request expiry time in seconds. Default is 3600 (1 hour).
// Payment request expiry time in seconds. Default is 86400 (24 hours).
int64 expiry = 11;
// Fallback on-chain address.
+1 -1
View File
@@ -5059,7 +5059,7 @@
"expiry": {
"type": "string",
"format": "int64",
"description": "Payment request expiry time in seconds. Default is 3600 (1 hour)."
"description": "Payment request expiry time in seconds. Default is 86400 (24 hours)."
},
"fallback_addr": {
"type": "string",