From 930b8d97f26da44a50fde00adfc16bfce2c2ada6 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 17 Oct 2022 11:07:05 +1030 Subject: [PATCH] wire: add latest Route Blinding htlc fields from https://github.com/lightning/bolts/pull/765 This is as of commit aed5518a80aade56218da87f92e0a39963b660cf Signed-off-by: Rusty Russell --- ...racted_onion_04_route-blinding-htlcs.patch | 20 +++++++++++++++++++ wire/onion_wire.csv | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 wire/extracted_onion_04_route-blinding-htlcs.patch diff --git a/wire/extracted_onion_04_route-blinding-htlcs.patch b/wire/extracted_onion_04_route-blinding-htlcs.patch new file mode 100644 index 000000000000..d36a7545c207 --- /dev/null +++ b/wire/extracted_onion_04_route-blinding-htlcs.patch @@ -0,0 +1,20 @@ +diff --git a/wire/onion_wire.csv b/wire/onion_wire.csv +index 9326f9f8e..d5d074d1f 100644 +--- a/wire/onion_wire.csv ++++ b/wire/onion_wire.csv +@@ -24,6 +24,15 @@ tlvtype,encrypted_data_tlv,path_id,6 + tlvdata,encrypted_data_tlv,path_id,data,byte,... + tlvtype,encrypted_data_tlv,next_blinding_override,8 + tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point, ++tlvtype,encrypted_data_tlv,payment_relay,10 ++tlvdata,encrypted_data_tlv,payment_relay,cltv_expiry_delta,u16, ++tlvdata,encrypted_data_tlv,payment_relay,fee_proportional_millionths,u32, ++tlvdata,encrypted_data_tlv,payment_relay,fee_base_msat,tu32, ++tlvtype,encrypted_data_tlv,payment_constraints,12 ++tlvdata,encrypted_data_tlv,payment_constraints,max_cltv_expiry,u32, ++tlvdata,encrypted_data_tlv,payment_constraints,htlc_minimum_msat,tu64, ++tlvtype,encrypted_data_tlv,allowed_features,14 ++tlvdata,encrypted_data_tlv,allowed_features,features,byte,... + tlvtype,onionmsg_payload,reply_path,2 + tlvdata,onionmsg_payload,reply_path,first_node_id,point, + tlvdata,onionmsg_payload,reply_path,blinding,point, diff --git a/wire/onion_wire.csv b/wire/onion_wire.csv index 9326f9f8eef8..60cb85109c49 100644 --- a/wire/onion_wire.csv +++ b/wire/onion_wire.csv @@ -24,6 +24,15 @@ tlvtype,encrypted_data_tlv,path_id,6 tlvdata,encrypted_data_tlv,path_id,data,byte,... tlvtype,encrypted_data_tlv,next_blinding_override,8 tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point, +tlvtype,encrypted_data_tlv,payment_relay,10 +tlvdata,encrypted_data_tlv,payment_relay,cltv_expiry_delta,u16, +tlvdata,encrypted_data_tlv,payment_relay,fee_proportional_millionths,u32, +tlvdata,encrypted_data_tlv,payment_relay,fee_base_msat,tu32, +tlvtype,encrypted_data_tlv,payment_constraints,12 +tlvdata,encrypted_data_tlv,payment_constraints,max_cltv_expiry,u32, +tlvdata,encrypted_data_tlv,payment_constraints,htlc_minimum_msat,tu64, +tlvtype,encrypted_data_tlv,allowed_features,14 +tlvdata,encrypted_data_tlv,allowed_features,features,byte,... tlvtype,onionmsg_payload,reply_path,2 tlvdata,onionmsg_payload,reply_path,first_node_id,point, tlvdata,onionmsg_payload,reply_path,blinding,point,