lnrpc: add features field to invoices

This commit is contained in:
Conner Fromknecht committed 2019-12-12 00:08:18 -08:00
1 parent dca31c2bf8
commit 7446495b6d
3 files changed
+591 -571

No files matched your search

+581 -571
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -2371,6 +2371,9 @@ message Invoice {
/// List of HTLCs paying to this invoice [EXPERIMENTAL]. /// List of HTLCs paying to this invoice [EXPERIMENTAL].
repeated InvoiceHTLC htlcs = 22 [json_name = "htlcs"]; repeated InvoiceHTLC htlcs = 22 [json_name = "htlcs"];
/// List of features advertised on the invoice.
repeated Feature features = 24 [json_name = "features"];
} }
enum InvoiceHTLCState { enum InvoiceHTLCState {
+7
View File
@@ -2802,6 +2802,13 @@
"$ref": "#/definitions/lnrpcInvoiceHTLC" "$ref": "#/definitions/lnrpcInvoiceHTLC"
}, },
"description": "/ List of HTLCs paying to this invoice [EXPERIMENTAL]." "description": "/ List of HTLCs paying to this invoice [EXPERIMENTAL]."
},
"features": {
"type": "array",
"items": {
"$ref": "#/definitions/lnrpcFeature"
},
"description": "/ List of features advertised on the invoice."
} }
} }
}, },