core-lightning/wire/extracted_onion_02_offers.patch
Rusty Russell dc18f3cd7b BOLTs: update which renames blinding terminology.
No code changes, just catching up with the BOLT changes which rework our
blinded path terminology (for the better!).

Another patch will sweep the rest of our internal names, this tries only to
make things compile and fix up the BOLT quotes.

1. Inside payload: current_blinding_point -> current_path_key
2. Inside update_add_htlc TLV: blinding_point -> blinded_path
3. Inside blinded_path: blinding -> first_path_key
4. Inside onion_message: blinding -> path_key.
5. Inside encrypted_data_tlv: next_blinding_override -> next_path_key_override

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-16 07:14:32 +10:30

15 lines
683 B
Diff

diff --git a/wire/onion_wire.csv b/wire/onion_wire.csv
index ae05f09fd..b09811ed1 100644
--- a/wire/onion_wire.csv
+++ b/wire/onion_wire.csv
@@ -92,3 +92,9 @@ tlvtype,onionmsg_tlv,reply_path,2
tlvdata,onionmsg_tlv,reply_path,path,blinded_path,
tlvtype,onionmsg_tlv,encrypted_recipient_data,4
tlvdata,onionmsg_tlv,encrypted_recipient_data,encrypted_recipient_data,byte,...
+tlvtype,onionmsg_tlv,invoice_request,64
+tlvdata,onionmsg_tlv,invoice_request,invoice_request,tlv_invoice_request,
+tlvtype,onionmsg_tlv,invoice,66
+tlvdata,onionmsg_tlv,invoice,invoice,tlv_invoice,
+tlvtype,onionmsg_tlv,invoice_error,68
+tlvdata,onionmsg_tlv,invoice_error,invoice_error,tlv_invoice_error,