multi: add blinded paths to invoices

Expose the ability to add blinded paths to an invoice. Also expose
various configuration values.

We also let the lncfg.Invoices struct satisfy the Validator interface so
that we can verify all its config values in one place.
This commit is contained in:
Elle Mouton
2024-05-05 14:07:15 +02:00
parent e12a226272
commit de975334cd
10 changed files with 1383 additions and 1173 deletions

View File

@@ -3836,6 +3836,12 @@ message Invoice {
Note: Output only, don't specify for creating an invoice.
*/
map<string, AMPInvoiceState> amp_invoice_state = 28;
/*
Signals that the invoice should include blinded paths to hide the true
identity of the recipient.
*/
bool blind = 29;
}
enum InvoiceHTLCState {