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
@@ -55,9 +55,20 @@ message AddHoldInvoiceRequest {
/// The hash of the preimage
bytes hash = 2 [json_name = "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 = 3 [json_name = "value"];
/**
The value of this invoice in millisatoshis
The fields value and value_msat are mutually exclusive.
*/
int64 value_msat = 10 [json_name = "value_msat"];
/**
Hash (SHA-256) of a description of the payment. Used if the description of
payment (memo) is too long to naturally fit within the description field