mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
905461f7c4
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
4.8 KiB
4.8 KiB
1 | #include <wire/onion_defs.h> |
---|---|
2 | tlvtype,payload,amt_to_forward,2 |
3 | tlvdata,payload,amt_to_forward,amt_to_forward,tu64, |
4 | tlvtype,payload,outgoing_cltv_value,4 |
5 | tlvdata,payload,outgoing_cltv_value,outgoing_cltv_value,tu32, |
6 | tlvtype,payload,short_channel_id,6 |
7 | tlvdata,payload,short_channel_id,short_channel_id,short_channel_id, |
8 | tlvtype,payload,payment_data,8 |
9 | tlvdata,payload,payment_data,payment_secret,byte,32 |
10 | tlvdata,payload,payment_data,total_msat,tu64, |
11 | tlvtype,payload,encrypted_recipient_data,10 |
12 | tlvdata,payload,encrypted_recipient_data,encrypted_recipient_data,byte,... |
13 | tlvtype,payload,current_path_key,12 |
14 | tlvdata,payload,current_path_key,path_key,point, |
15 | tlvtype,payload,payment_metadata,16 |
16 | tlvdata,payload,payment_metadata,payment_metadata,byte,... |
17 | tlvtype,payload,total_amount_msat,18 |
18 | tlvdata,payload,total_amount_msat,total_msat,tu64, |
19 | subtype,blinded_path |
20 | subtypedata,blinded_path,first_node_id,sciddir_or_pubkey, |
21 | subtypedata,blinded_path,first_path_key,point, |
22 | subtypedata,blinded_path,num_hops,byte, |
23 | subtypedata,blinded_path,path,blinded_path_hop,num_hops |
24 | subtype,blinded_path_hop |
25 | subtypedata,blinded_path_hop,blinded_node_id,point, |
26 | subtypedata,blinded_path_hop,enclen,u16, |
27 | subtypedata,blinded_path_hop,encrypted_recipient_data,byte,enclen |
28 | tlvtype,encrypted_data_tlv,padding,1 |
29 | tlvdata,encrypted_data_tlv,padding,padding,byte,... |
30 | tlvtype,encrypted_data_tlv,short_channel_id,2 |
31 | tlvdata,encrypted_data_tlv,short_channel_id,short_channel_id,short_channel_id, |
32 | tlvtype,encrypted_data_tlv,next_node_id,4 |
33 | tlvdata,encrypted_data_tlv,next_node_id,node_id,point, |
34 | tlvtype,encrypted_data_tlv,path_id,6 |
35 | tlvdata,encrypted_data_tlv,path_id,data,byte,... |
36 | tlvtype,encrypted_data_tlv,next_path_key_override,8 |
37 | tlvdata,encrypted_data_tlv,next_path_key_override,path_key,point, |
38 | tlvtype,encrypted_data_tlv,payment_relay,10 |
39 | tlvdata,encrypted_data_tlv,payment_relay,cltv_expiry_delta,u16, |
40 | tlvdata,encrypted_data_tlv,payment_relay,fee_proportional_millionths,u32, |
41 | tlvdata,encrypted_data_tlv,payment_relay,fee_base_msat,tu32, |
42 | tlvtype,encrypted_data_tlv,payment_constraints,12 |
43 | tlvdata,encrypted_data_tlv,payment_constraints,max_cltv_expiry,u32, |
44 | tlvdata,encrypted_data_tlv,payment_constraints,htlc_minimum_msat,tu64, |
45 | tlvtype,encrypted_data_tlv,allowed_features,14 |
46 | tlvdata,encrypted_data_tlv,allowed_features,features,byte,... |
47 | msgtype,temporary_node_failure,NODE|2 |
48 | msgtype,permanent_node_failure,PERM|NODE|2 |
49 | msgtype,required_node_feature_missing,PERM|NODE|3 |
50 | msgtype,invalid_onion_version,BADONION|PERM|4 |
51 | msgdata,invalid_onion_version,sha256_of_onion,sha256, |
52 | msgtype,invalid_onion_hmac,BADONION|PERM|5 |
53 | msgdata,invalid_onion_hmac,sha256_of_onion,sha256, |
54 | msgtype,invalid_onion_key,BADONION|PERM|6 |
55 | msgdata,invalid_onion_key,sha256_of_onion,sha256, |
56 | msgtype,temporary_channel_failure,UPDATE|7 |
57 | msgdata,temporary_channel_failure,len,u16, |
58 | msgdata,temporary_channel_failure,channel_update,byte,len |
59 | msgtype,permanent_channel_failure,PERM|8 |
60 | msgtype,required_channel_feature_missing,PERM|9 |
61 | msgtype,unknown_next_peer,PERM|10 |
62 | msgtype,amount_below_minimum,UPDATE|11 |
63 | msgdata,amount_below_minimum,htlc_msat,u64, |
64 | msgdata,amount_below_minimum,len,u16, |
65 | msgdata,amount_below_minimum,channel_update,byte,len |
66 | msgtype,fee_insufficient,UPDATE|12 |
67 | msgdata,fee_insufficient,htlc_msat,u64, |
68 | msgdata,fee_insufficient,len,u16, |
69 | msgdata,fee_insufficient,channel_update,byte,len |
70 | msgtype,incorrect_cltv_expiry,UPDATE|13 |
71 | msgdata,incorrect_cltv_expiry,cltv_expiry,u32, |
72 | msgdata,incorrect_cltv_expiry,len,u16, |
73 | msgdata,incorrect_cltv_expiry,channel_update,byte,len |
74 | msgtype,expiry_too_soon,UPDATE|14 |
75 | msgdata,expiry_too_soon,len,u16, |
76 | msgdata,expiry_too_soon,channel_update,byte,len |
77 | msgtype,incorrect_or_unknown_payment_details,PERM|15 |
78 | msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64, |
79 | msgdata,incorrect_or_unknown_payment_details,height,u32, |
80 | msgtype,final_incorrect_cltv_expiry,18 |
81 | msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32, |
82 | msgtype,final_incorrect_htlc_amount,19 |
83 | msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64, |
84 | msgtype,channel_disabled,UPDATE|20 |
85 | msgdata,channel_disabled,disabled_flags,u16, |
86 | msgdata,channel_disabled,len,u16, |
87 | msgdata,channel_disabled,channel_update,byte,len |
88 | msgtype,expiry_too_far,21 |
89 | msgtype,invalid_onion_payload,PERM|22 |
90 | msgdata,invalid_onion_payload,type,bigsize, |
91 | msgdata,invalid_onion_payload,offset,u16, |
92 | msgtype,mpp_timeout,23 |
93 | msgtype,invalid_onion_blinding,BADONION|PERM|24 |
94 | msgdata,invalid_onion_blinding,sha256_of_onion,sha256, |
95 | tlvtype,onionmsg_tlv,reply_path,2 |
96 | tlvdata,onionmsg_tlv,reply_path,path,blinded_path, |
97 | tlvtype,onionmsg_tlv,encrypted_recipient_data,4 |
98 | tlvdata,onionmsg_tlv,encrypted_recipient_data,encrypted_recipient_data,byte,... |
99 | tlvtype,onionmsg_tlv,invoice_request,64 |
100 | tlvdata,onionmsg_tlv,invoice_request,invoice_request,byte,... |
101 | tlvtype,onionmsg_tlv,invoice,66 |
102 | tlvdata,onionmsg_tlv,invoice,invoice,byte,... |
103 | tlvtype,onionmsg_tlv,invoice_error,68 |
104 | tlvdata,onionmsg_tlv,invoice_error,invoice_error,byte,... |