mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
e01abf0b34
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5.0 KiB
5.0 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,payment_metadata,16 |
12 | tlvdata,tlv_payload,payment_metadata,payment_metadata,byte,... |
13 | tlvtype,obs2_onionmsg_payload,reply_path,2 |
14 | tlvdata,obs2_onionmsg_payload,reply_path,first_node_id,point, |
15 | tlvdata,obs2_onionmsg_payload,reply_path,blinding,point, |
16 | tlvdata,obs2_onionmsg_payload,reply_path,path,onionmsg_path,... |
17 | tlvtype,obs2_onionmsg_payload,enctlv,10 |
18 | tlvdata,obs2_onionmsg_payload,enctlv,enctlv,byte,... |
19 | tlvtype,obs2_onionmsg_payload,invoice_request,64 |
20 | tlvdata,obs2_onionmsg_payload,invoice_request,invoice_request,byte,... |
21 | tlvtype,obs2_onionmsg_payload,invoice,66 |
22 | tlvdata,obs2_onionmsg_payload,invoice,invoice,byte,... |
23 | tlvtype,obs2_onionmsg_payload,invoice_error,68 |
24 | tlvdata,obs2_onionmsg_payload,invoice_error,invoice_error,byte,... |
25 | tlvtype,obs2_encmsg_tlvs,padding,1 |
26 | tlvdata,obs2_encmsg_tlvs,padding,pad,byte,... |
27 | tlvtype,obs2_encmsg_tlvs,next_node_id,4 |
28 | tlvdata,obs2_encmsg_tlvs,next_node_id,node_id,point, |
29 | tlvtype,obs2_encmsg_tlvs,next_blinding,12 |
30 | tlvdata,obs2_encmsg_tlvs,next_blinding,blinding,point, |
31 | tlvtype,obs2_encmsg_tlvs,self_id,14 |
32 | tlvdata,obs2_encmsg_tlvs,self_id,data,byte,... |
33 | tlvtype,tlv_payload,encrypted_recipient_data,10 |
34 | tlvdata,tlv_payload,encrypted_recipient_data,encrypted_data,byte,... |
35 | tlvtype,tlv_payload,blinding_point,12 |
36 | tlvdata,tlv_payload,blinding_point,blinding,point, |
37 | tlvtype,encrypted_data_tlv,padding,1 |
38 | tlvdata,encrypted_data_tlv,padding,padding,byte,... |
39 | tlvtype,encrypted_data_tlv,short_channel_id,2 |
40 | tlvdata,encrypted_data_tlv,short_channel_id,short_channel_id,short_channel_id, |
41 | tlvtype,encrypted_data_tlv,next_node_id,4 |
42 | tlvdata,encrypted_data_tlv,next_node_id,node_id,point, |
43 | tlvtype,encrypted_data_tlv,path_id,6 |
44 | tlvdata,encrypted_data_tlv,path_id,data,byte,... |
45 | tlvtype,encrypted_data_tlv,next_blinding_override,8 |
46 | tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point, |
47 | tlvtype,onionmsg_payload,reply_path,2 |
48 | tlvdata,onionmsg_payload,reply_path,first_node_id,point, |
49 | tlvdata,onionmsg_payload,reply_path,blinding,point, |
50 | tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,... |
51 | tlvtype,onionmsg_payload,encrypted_data_tlv,4 |
52 | tlvdata,onionmsg_payload,encrypted_data_tlv,encrypted_data_tlv,byte,... |
53 | tlvtype,onionmsg_payload,invoice_request,64 |
54 | tlvdata,onionmsg_payload,invoice_request,invoice_request,byte,... |
55 | tlvtype,onionmsg_payload,invoice,66 |
56 | tlvdata,onionmsg_payload,invoice,invoice,byte,... |
57 | tlvtype,onionmsg_payload,invoice_error,68 |
58 | tlvdata,onionmsg_payload,invoice_error,invoice_error,byte,... |
59 | subtype,onionmsg_path |
60 | subtypedata,onionmsg_path,node_id,point, |
61 | subtypedata,onionmsg_path,enclen,u16, |
62 | subtypedata,onionmsg_path,encrypted_recipient_data,byte,enclen |
63 | msgtype,invalid_realm,PERM|1 |
64 | msgtype,temporary_node_failure,NODE|2 |
65 | msgtype,permanent_node_failure,PERM|NODE|2 |
66 | msgtype,required_node_feature_missing,PERM|NODE|3 |
67 | msgtype,invalid_onion_version,BADONION|PERM|4 |
68 | msgdata,invalid_onion_version,sha256_of_onion,sha256, |
69 | msgtype,invalid_onion_hmac,BADONION|PERM|5 |
70 | msgdata,invalid_onion_hmac,sha256_of_onion,sha256, |
71 | msgtype,invalid_onion_key,BADONION|PERM|6 |
72 | msgdata,invalid_onion_key,sha256_of_onion,sha256, |
73 | msgtype,temporary_channel_failure,UPDATE|7 |
74 | msgdata,temporary_channel_failure,len,u16, |
75 | msgdata,temporary_channel_failure,channel_update,byte,len |
76 | msgtype,permanent_channel_failure,PERM|8 |
77 | msgtype,required_channel_feature_missing,PERM|9 |
78 | msgtype,unknown_next_peer,PERM|10 |
79 | msgtype,amount_below_minimum,UPDATE|11 |
80 | msgdata,amount_below_minimum,htlc_msat,u64, |
81 | msgdata,amount_below_minimum,len,u16, |
82 | msgdata,amount_below_minimum,channel_update,byte,len |
83 | msgtype,fee_insufficient,UPDATE|12 |
84 | msgdata,fee_insufficient,htlc_msat,u64, |
85 | msgdata,fee_insufficient,len,u16, |
86 | msgdata,fee_insufficient,channel_update,byte,len |
87 | msgtype,incorrect_cltv_expiry,UPDATE|13 |
88 | msgdata,incorrect_cltv_expiry,cltv_expiry,u32, |
89 | msgdata,incorrect_cltv_expiry,len,u16, |
90 | msgdata,incorrect_cltv_expiry,channel_update,byte,len |
91 | msgtype,expiry_too_soon,UPDATE|14 |
92 | msgdata,expiry_too_soon,len,u16, |
93 | msgdata,expiry_too_soon,channel_update,byte,len |
94 | msgtype,incorrect_or_unknown_payment_details,PERM|15 |
95 | msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64, |
96 | msgdata,incorrect_or_unknown_payment_details,height,u32, |
97 | msgtype,final_incorrect_cltv_expiry,18 |
98 | msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32, |
99 | msgtype,final_incorrect_htlc_amount,19 |
100 | msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64, |
101 | msgtype,channel_disabled,UPDATE|20 |
102 | msgdata,channel_disabled,flags,u16, |
103 | msgdata,channel_disabled,len,u16, |
104 | msgdata,channel_disabled,channel_update,byte,len |
105 | msgtype,expiry_too_far,21 |
106 | msgtype,invalid_onion_payload,PERM|22 |
107 | msgdata,invalid_onion_payload,type,bigsize, |
108 | msgdata,invalid_onion_payload,offset,u16, |
109 | msgtype,mpp_timeout,23 |