File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,8 @@ The writer of the TLV `payload`:
284284 - MUST set ` sender_provided_payment_preimage ` to randomly generated unique bytes.
285285 - MUST set ` update_add_htlc.payment_hash ` to match the SHA256 hash of
286286 ` 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.
291289 - otherwise:
292290 - MUST NOT set ` sender_provided_payment_preimage ` .
293291 - 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:
2828* ` 9 ` : presented in [ BOLT 11] ( 11-payment-encoding.md ) invoices.
2929* ` B ` : presented in the ` allowed_features ` field of a blinded path.
3030* ` R ` : presented in [ BOLT 12] ( 12-offers.md ) invoice requests.
31- * ` V ` : presented in [ BOLT 12] ( 12-offers.md ) invoices.
3231
3332| Bits | Name | Description | Context | Dependencies | Link |
3433| -------| -----------------------------------| -----------------------------------------------------------| ----------| ---------------------------| -----------------------------------------------------------------------|
@@ -55,7 +54,6 @@ The Context column decodes as follows:
5554| 52/53 | ` option_htlc_hold ` | Hold HTLCs and forward on receipt of an onion message | IN | ` option_onion_messages ` |
5655| 56/57 | ` option_om_mailbox ` | Store-and-forward onion messages for often-offline peers | IN | ` option_onion_messages ` | [ BOLT #12 ] ( bolt12-offers.md ) |
5756| 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 ) |
5957
6058## Definitions
6159
Original file line number Diff line number Diff line change @@ -674,16 +674,6 @@ the `onion_message` `invoice` field.
674674| ------| --------------------------------------------| ---------------------------------|
675675| 16 | Multi-part-payment support | MPP/compulsory |
676676| 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.
687677
688678The 'MPP support' invoice feature indicates that the payer MUST (16) or
689679MAY (17) use multiple part payments to pay the invoice.
You can’t perform that action at this time.
0 commit comments