Skip to content

Commit

Permalink
wire: add latest Route Blinding htlc fields from lightning/bolts#765
Browse files Browse the repository at this point in the history
This is as of commit aed5518a80aade56218da87f92e0a39963b660cf

Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell authored and ddustin committed Apr 11, 2023
1 parent 23952c4 commit 930b8d9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
20 changes: 20 additions & 0 deletions wire/extracted_onion_04_route-blinding-htlcs.patch
Original file line number Diff line number Diff line change
@@ -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,
9 changes: 9 additions & 0 deletions wire/onion_wire.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 930b8d9

Please sign in to comment.