mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
5a483ddd8b
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
3.5 KiB
3.5 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,onionmsg_payload,next_node_id,4 |
12 | tlvdata,onionmsg_payload,next_node_id,node_id,point, |
13 | tlvtype,onionmsg_payload,next_short_channel_id,6 |
14 | tlvdata,onionmsg_payload,next_short_channel_id,short_channel_id,short_channel_id, |
15 | tlvtype,onionmsg_payload,reply_path,8 |
16 | tlvdata,onionmsg_payload,reply_path,blinding,point, |
17 | tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,... |
18 | tlvtype,onionmsg_payload,enctlv,10 |
19 | tlvdata,onionmsg_payload,enctlv,enctlv,byte,... |
20 | tlvtype,onionmsg_payload,blinding,12 |
21 | tlvdata,onionmsg_payload,blinding,blinding,point, |
22 | tlvtype,onionmsg_payload,invoice_request,64 |
23 | tlvdata,onionmsg_payload,invoice_request,invoice_request,byte,... |
24 | tlvtype,onionmsg_payload,invoice,66 |
25 | tlvdata,onionmsg_payload,invoice,invoice,byte,... |
26 | tlvtype,onionmsg_payload,invoice_error,68 |
27 | tlvdata,onionmsg_payload,invoice_error,invoice_error,byte,... |
28 | tlvtype,encmsg_tlvs,next_node_id,4 |
29 | tlvdata,encmsg_tlvs,next_node_id,node_id,point, |
30 | tlvtype,encmsg_tlvs,next_short_channel_id,6 |
31 | tlvdata,encmsg_tlvs,next_short_channel_id,short_channel_id,short_channel_id, |
32 | subtype,onionmsg_path |
33 | subtypedata,onionmsg_path,node_id,point, |
34 | subtypedata,onionmsg_path,enclen,u16, |
35 | subtypedata,onionmsg_path,enctlv,byte,enclen |
36 | msgtype,invalid_realm,PERM|1 |
37 | msgtype,temporary_node_failure,NODE|2 |
38 | msgtype,permanent_node_failure,PERM|NODE|2 |
39 | msgtype,required_node_feature_missing,PERM|NODE|3 |
40 | msgtype,invalid_onion_version,BADONION|PERM|4 |
41 | msgdata,invalid_onion_version,sha256_of_onion,sha256, |
42 | msgtype,invalid_onion_hmac,BADONION|PERM|5 |
43 | msgdata,invalid_onion_hmac,sha256_of_onion,sha256, |
44 | msgtype,invalid_onion_key,BADONION|PERM|6 |
45 | msgdata,invalid_onion_key,sha256_of_onion,sha256, |
46 | msgtype,temporary_channel_failure,UPDATE|7 |
47 | msgdata,temporary_channel_failure,len,u16, |
48 | msgdata,temporary_channel_failure,channel_update,byte,len |
49 | msgtype,permanent_channel_failure,PERM|8 |
50 | msgtype,required_channel_feature_missing,PERM|9 |
51 | msgtype,unknown_next_peer,PERM|10 |
52 | msgtype,amount_below_minimum,UPDATE|11 |
53 | msgdata,amount_below_minimum,htlc_msat,u64, |
54 | msgdata,amount_below_minimum,len,u16, |
55 | msgdata,amount_below_minimum,channel_update,byte,len |
56 | msgtype,fee_insufficient,UPDATE|12 |
57 | msgdata,fee_insufficient,htlc_msat,u64, |
58 | msgdata,fee_insufficient,len,u16, |
59 | msgdata,fee_insufficient,channel_update,byte,len |
60 | msgtype,incorrect_cltv_expiry,UPDATE|13 |
61 | msgdata,incorrect_cltv_expiry,cltv_expiry,u32, |
62 | msgdata,incorrect_cltv_expiry,len,u16, |
63 | msgdata,incorrect_cltv_expiry,channel_update,byte,len |
64 | msgtype,expiry_too_soon,UPDATE|14 |
65 | msgdata,expiry_too_soon,len,u16, |
66 | msgdata,expiry_too_soon,channel_update,byte,len |
67 | msgtype,incorrect_or_unknown_payment_details,PERM|15 |
68 | msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64, |
69 | msgdata,incorrect_or_unknown_payment_details,height,u32, |
70 | msgtype,final_incorrect_cltv_expiry,18 |
71 | msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32, |
72 | msgtype,final_incorrect_htlc_amount,19 |
73 | msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64, |
74 | msgtype,channel_disabled,UPDATE|20 |
75 | msgtype,expiry_too_far,21 |
76 | msgtype,invalid_onion_payload,PERM|22 |
77 | msgdata,invalid_onion_payload,type,bigsize, |
78 | msgdata,invalid_onion_payload,offset,u16, |
79 | msgtype,mpp_timeout,23 |