File tree 3 files changed +6
-20
lines changed
3 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,8 @@ The writer of the TLV `payload`:
284
284
- MUST set ` sender_provided_payment_preimage ` to randomly generated unique bytes.
285
285
- MUST set ` update_add_htlc.payment_hash ` to match the SHA256 hash of
286
286
` sender_provided_payment_preimage ` .
287
- - if the ` payment_onion_invreq ` feature is set in the invoice:
288
- - MUST or MAY set ` invoice_request ` to the BOLT 12 invoice request
289
- corresponding to this HTLC, based on whether ` payment_onion_invreq `
290
- is optional or compulsory.
287
+ - MUST set ` invoice_request ` to the BOLT 12 invoice request
288
+ corresponding to this HTLC.
291
289
- otherwise:
292
290
- MUST NOT set ` sender_provided_payment_preimage ` .
293
291
- MUST NOT include any other tlv field.
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ The Context column decodes as follows:
28
28
* ` 9 ` : presented in [ BOLT 11] ( 11-payment-encoding.md ) invoices.
29
29
* ` B ` : presented in the ` allowed_features ` field of a blinded path.
30
30
* ` R ` : presented in [ BOLT 12] ( 12-offers.md ) invoice requests.
31
- * ` V ` : presented in [ BOLT 12] ( 12-offers.md ) invoices.
32
31
33
32
| Bits | Name | Description | Context | Dependencies | Link |
34
33
| -------| -----------------------------------| -----------------------------------------------------------| ----------| ---------------------------| -----------------------------------------------------------------------|
@@ -55,7 +54,6 @@ The Context column decodes as follows:
55
54
| 52/53 | ` option_htlc_hold ` | Hold HTLCs and forward on receipt of an onion message | IN | ` option_onion_messages ` |
56
55
| 56/57 | ` option_om_mailbox ` | Store-and-forward onion messages for often-offline peers | IN | ` option_onion_messages ` | [ BOLT #12 ] ( bolt12-offers.md ) |
57
56
| 59 | ` static_invoice_pay ` | Supports paying BOLT 12 static invoices | R | ` option_onion_messages ` | [ BOLT #12 ] ( bolt12-offers.md ) |
58
- | 60/61 | ` payment_onion_invreq ` | Include ` invoice_request ` in payment onion | V | | [ BOLT #12 ] ( bolt12-offers.md ) |
59
57
60
58
## Definitions
61
59
Original file line number Diff line number Diff line change @@ -670,20 +670,10 @@ the `onion_message` `invoice` field.
670
670
671
671
## Invoice Features
672
672
673
- | Bits | Description | Name |
674
- | ------| --------------------------------------------| ---------------------------------|
675
- | 16 | Multi-part-payment support | MPP/compulsory |
676
- | 17 | Multi-part-payment support | MPP/optional |
677
- | 60 | Include ` invoice_request ` in payment onion | payment_onion_invreq/compulsory |
678
- | 61 | Include ` invoice_request ` in payment onion | payment_onion_invreq/optional |
679
-
680
- The ` payment_onion_invreq ` feature indicates that the payer MUST (0) or MAY (1)
681
- repeat their invoice request in the ` update_add_htlc ` payment onion.
682
-
683
- Often-offline receivers may not have received the payer's invoice request
684
- originally if another node replied with a keysend invoice on their behalf.
685
- Providing it to the receiver separately may be useful for verification purposes
686
- or to supply some other data relevant to the payment.
673
+ | Bits | Description | Name |
674
+ | ------| ----------------------------------| ----------------|
675
+ | 16 | Multi-part-payment support | MPP/compulsory |
676
+ | 17 | Multi-part-payment support | MPP/optional |
687
677
688
678
The 'MPP support' invoice feature indicates that the payer MUST (16) or
689
679
MAY (17) use multiple part payments to pay the invoice.
You can’t perform that action at this time.
0 commit comments