mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-21 06:12:38 +02:00
lnrpc: add features field to invoices
This commit is contained in:
parent
dca31c2bf8
commit
7446495b6d
1144
lnrpc/rpc.pb.go
1144
lnrpc/rpc.pb.go
File diff suppressed because it is too large
Load Diff
@ -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 {
|
||||||
|
@ -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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user