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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2022-10-17 11:07:05 +10:30
parent 662c6931f3
commit 56939295de
2 changed files with 29 additions and 0 deletions

View File

@ -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,

View File

@ -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,

1 #include <wire/onion_defs.h>
24 tlvdata,encrypted_data_tlv,path_id,data,byte,...
25 tlvtype,encrypted_data_tlv,next_blinding_override,8
26 tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point,
27 tlvtype,encrypted_data_tlv,payment_relay,10
28 tlvdata,encrypted_data_tlv,payment_relay,cltv_expiry_delta,u16,
29 tlvdata,encrypted_data_tlv,payment_relay,fee_proportional_millionths,u32,
30 tlvdata,encrypted_data_tlv,payment_relay,fee_base_msat,tu32,
31 tlvtype,encrypted_data_tlv,payment_constraints,12
32 tlvdata,encrypted_data_tlv,payment_constraints,max_cltv_expiry,u32,
33 tlvdata,encrypted_data_tlv,payment_constraints,htlc_minimum_msat,tu64,
34 tlvtype,encrypted_data_tlv,allowed_features,14
35 tlvdata,encrypted_data_tlv,allowed_features,features,byte,...
36 tlvtype,onionmsg_payload,reply_path,2
37 tlvdata,onionmsg_payload,reply_path,first_node_id,point,
38 tlvdata,onionmsg_payload,reply_path,blinding,point,