mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 17:44:47 +01:00
7829f2eb06
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-EXPERIMENTAL: Removed backwards compat with onion messages from v0.10.1.
3.8 KiB
3.8 KiB
1 | #include <wire/onion_defs.h> |
---|---|
2 | tlvtype,tlv_payload,amt_to_forward,2 |
3 | tlvdata,tlv_payload,amt_to_forward,amt_to_forward,tu64, |
4 | tlvtype,tlv_payload,outgoing_cltv_value,4 |
5 | tlvdata,tlv_payload,outgoing_cltv_value,outgoing_cltv_value,tu32, |
6 | tlvtype,tlv_payload,short_channel_id,6 |
7 | tlvdata,tlv_payload,short_channel_id,short_channel_id,short_channel_id, |
8 | tlvtype,tlv_payload,payment_data,8 |
9 | tlvdata,tlv_payload,payment_data,payment_secret,byte,32 |
10 | tlvdata,tlv_payload,payment_data,total_msat,tu64, |
11 | tlvtype,tlv_payload,encrypted_recipient_data,10 |
12 | tlvdata,tlv_payload,encrypted_recipient_data,encrypted_data,byte,... |
13 | tlvtype,tlv_payload,blinding_point,12 |
14 | tlvdata,tlv_payload,blinding_point,blinding,point, |
15 | tlvtype,encrypted_data_tlv,padding,1 |
16 | tlvdata,encrypted_data_tlv,padding,padding,byte,... |
17 | tlvtype,encrypted_data_tlv,short_channel_id,2 |
18 | tlvdata,encrypted_data_tlv,short_channel_id,short_channel_id,short_channel_id, |
19 | tlvtype,encrypted_data_tlv,next_node_id,4 |
20 | tlvdata,encrypted_data_tlv,next_node_id,node_id,point, |
21 | tlvtype,encrypted_data_tlv,path_id,6 |
22 | tlvdata,encrypted_data_tlv,path_id,data,byte,... |
23 | tlvtype,encrypted_data_tlv,next_blinding_override,8 |
24 | tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point, |
25 | tlvtype,onionmsg_payload,reply_path,2 |
26 | tlvdata,onionmsg_payload,reply_path,first_node_id,point, |
27 | tlvdata,onionmsg_payload,reply_path,blinding,point, |
28 | tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,... |
29 | tlvtype,onionmsg_payload,encrypted_data_tlv,4 |
30 | tlvdata,onionmsg_payload,encrypted_data_tlv,encrypted_data_tlv,byte,... |
31 | tlvtype,onionmsg_payload,invoice_request,64 |
32 | tlvdata,onionmsg_payload,invoice_request,invoice_request,byte,... |
33 | tlvtype,onionmsg_payload,invoice,66 |
34 | tlvdata,onionmsg_payload,invoice,invoice,byte,... |
35 | tlvtype,onionmsg_payload,invoice_error,68 |
36 | tlvdata,onionmsg_payload,invoice_error,invoice_error,byte,... |
37 | subtype,onionmsg_path |
38 | subtypedata,onionmsg_path,node_id,point, |
39 | subtypedata,onionmsg_path,enclen,u16, |
40 | subtypedata,onionmsg_path,encrypted_recipient_data,byte,enclen |
41 | msgtype,invalid_realm,PERM|1 |
42 | msgtype,temporary_node_failure,NODE|2 |
43 | msgtype,permanent_node_failure,PERM|NODE|2 |
44 | msgtype,required_node_feature_missing,PERM|NODE|3 |
45 | msgtype,invalid_onion_version,BADONION|PERM|4 |
46 | msgdata,invalid_onion_version,sha256_of_onion,sha256, |
47 | msgtype,invalid_onion_hmac,BADONION|PERM|5 |
48 | msgdata,invalid_onion_hmac,sha256_of_onion,sha256, |
49 | msgtype,invalid_onion_key,BADONION|PERM|6 |
50 | msgdata,invalid_onion_key,sha256_of_onion,sha256, |
51 | msgtype,temporary_channel_failure,UPDATE|7 |
52 | msgdata,temporary_channel_failure,len,u16, |
53 | msgdata,temporary_channel_failure,channel_update,byte,len |
54 | msgtype,permanent_channel_failure,PERM|8 |
55 | msgtype,required_channel_feature_missing,PERM|9 |
56 | msgtype,unknown_next_peer,PERM|10 |
57 | msgtype,amount_below_minimum,UPDATE|11 |
58 | msgdata,amount_below_minimum,htlc_msat,u64, |
59 | msgdata,amount_below_minimum,len,u16, |
60 | msgdata,amount_below_minimum,channel_update,byte,len |
61 | msgtype,fee_insufficient,UPDATE|12 |
62 | msgdata,fee_insufficient,htlc_msat,u64, |
63 | msgdata,fee_insufficient,len,u16, |
64 | msgdata,fee_insufficient,channel_update,byte,len |
65 | msgtype,incorrect_cltv_expiry,UPDATE|13 |
66 | msgdata,incorrect_cltv_expiry,cltv_expiry,u32, |
67 | msgdata,incorrect_cltv_expiry,len,u16, |
68 | msgdata,incorrect_cltv_expiry,channel_update,byte,len |
69 | msgtype,expiry_too_soon,UPDATE|14 |
70 | msgdata,expiry_too_soon,len,u16, |
71 | msgdata,expiry_too_soon,channel_update,byte,len |
72 | msgtype,incorrect_or_unknown_payment_details,PERM|15 |
73 | msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64, |
74 | msgdata,incorrect_or_unknown_payment_details,height,u32, |
75 | msgtype,final_incorrect_cltv_expiry,18 |
76 | msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32, |
77 | msgtype,final_incorrect_htlc_amount,19 |
78 | msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64, |
79 | msgtype,channel_disabled,UPDATE|20 |
80 | msgtype,expiry_too_far,21 |
81 | msgtype,invalid_onion_payload,PERM|22 |
82 | msgdata,invalid_onion_payload,type,bigsize, |
83 | msgdata,invalid_onion_payload,offset,u16, |
84 | msgtype,mpp_timeout,23 |