invoicesrpc+lnrpc: add msat fields to invoices

This commit is contained in:
Joost Jager committed 2019-11-15 08:59:35 +01:00
1 parent 2ab16f7601
commit fcbf1bc07a
9 files changed
+660 -590

No files matched your search

+12 -1
View File
@@ -2230,9 +2230,20 @@ message Invoice {
*/
bytes r_hash = 4 [json_name = "r_hash"];
/// The value of this invoice in satoshis
/**
The value of this invoice in satoshis
The fields value and value_msat are mutually exclusive.
*/
int64 value = 5 [json_name = "value"];
/**
The value of this invoice in millisatoshis
The fields value and value_msat are mutually exclusive.
*/
int64 value_msat = 23 [json_name = "value_msat"];
/// Whether this invoice has been fulfilled
bool settled = 6 [json_name = "settled", deprecated = true];