lnrpc: update invoice request expiry comment
This commit is contained in:
6 files changed
+7
-7
No files matched your search
@@ -188,7 +188,7 @@ type AddHoldInvoiceRequest struct {
|
|||||||
// payment (memo) is too long to naturally fit within the description field
|
// payment (memo) is too long to naturally fit within the description field
|
||||||
// of an encoded payment request.
|
// of an encoded payment request.
|
||||||
DescriptionHash []byte `protobuf:"bytes,4,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
|
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"`
|
Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
||||||
// Fallback on-chain address.
|
// Fallback on-chain address.
|
||||||
FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ message AddHoldInvoiceRequest {
|
|||||||
*/
|
*/
|
||||||
bytes description_hash = 4;
|
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;
|
int64 expiry = 5;
|
||||||
|
|
||||||
// Fallback on-chain address.
|
// Fallback on-chain address.
|
||||||
|
|||||||
@@ -261,7 +261,7 @@
|
|||||||
"expiry": {
|
"expiry": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"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": {
|
"fallback_addr": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -493,7 +493,7 @@
|
|||||||
"expiry": {
|
"expiry": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"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": {
|
"fallback_addr": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -11632,7 +11632,7 @@ type Invoice struct {
|
|||||||
// of an encoded payment request. When using REST, this field must be encoded
|
// of an encoded payment request. When using REST, this field must be encoded
|
||||||
// as base64.
|
// as base64.
|
||||||
DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
|
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"`
|
Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
||||||
// Fallback on-chain address.
|
// Fallback on-chain address.
|
||||||
FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
||||||
|
|||||||
@@ -3387,7 +3387,7 @@ message Invoice {
|
|||||||
*/
|
*/
|
||||||
bytes description_hash = 10;
|
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;
|
int64 expiry = 11;
|
||||||
|
|
||||||
// Fallback on-chain address.
|
// Fallback on-chain address.
|
||||||
|
|||||||
@@ -5059,7 +5059,7 @@
|
|||||||
"expiry": {
|
"expiry": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64",
|
"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": {
|
"fallback_addr": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
Reference in new issue
Block a user