core-lightning/wire/onion_wire.csv
Rusty Russell 41ef85318d onionmessages: remove obsolete onion message parsing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-29 16:10:57 +09:30

4.0 KiB

1#include <wire/onion_defs.h>
2tlvtype,tlv_payload,amt_to_forward,2
3tlvdata,tlv_payload,amt_to_forward,amt_to_forward,tu64,
4tlvtype,tlv_payload,outgoing_cltv_value,4
5tlvdata,tlv_payload,outgoing_cltv_value,outgoing_cltv_value,tu32,
6tlvtype,tlv_payload,short_channel_id,6
7tlvdata,tlv_payload,short_channel_id,short_channel_id,short_channel_id,
8tlvtype,tlv_payload,payment_data,8
9tlvdata,tlv_payload,payment_data,payment_secret,byte,32
10tlvdata,tlv_payload,payment_data,total_msat,tu64,
11tlvtype,tlv_payload,payment_metadata,16
12tlvdata,tlv_payload,payment_metadata,payment_metadata,byte,...
13tlvtype,tlv_payload,encrypted_recipient_data,10
14tlvdata,tlv_payload,encrypted_recipient_data,encrypted_data,byte,...
15tlvtype,tlv_payload,blinding_point,12
16tlvdata,tlv_payload,blinding_point,blinding,point,
17tlvtype,encrypted_data_tlv,padding,1
18tlvdata,encrypted_data_tlv,padding,padding,byte,...
19tlvtype,encrypted_data_tlv,short_channel_id,2
20tlvdata,encrypted_data_tlv,short_channel_id,short_channel_id,short_channel_id,
21tlvtype,encrypted_data_tlv,next_node_id,4
22tlvdata,encrypted_data_tlv,next_node_id,node_id,point,
23tlvtype,encrypted_data_tlv,path_id,6
24tlvdata,encrypted_data_tlv,path_id,data,byte,...
25tlvtype,encrypted_data_tlv,next_blinding_override,8
26tlvdata,encrypted_data_tlv,next_blinding_override,blinding,point,
27tlvtype,onionmsg_payload,reply_path,2
28tlvdata,onionmsg_payload,reply_path,first_node_id,point,
29tlvdata,onionmsg_payload,reply_path,blinding,point,
30tlvdata,onionmsg_payload,reply_path,path,onionmsg_path,...
31tlvtype,onionmsg_payload,encrypted_data_tlv,4
32tlvdata,onionmsg_payload,encrypted_data_tlv,encrypted_data_tlv,byte,...
33tlvtype,onionmsg_payload,invoice_request,64
34tlvdata,onionmsg_payload,invoice_request,invoice_request,byte,...
35tlvtype,onionmsg_payload,invoice,66
36tlvdata,onionmsg_payload,invoice,invoice,byte,...
37tlvtype,onionmsg_payload,invoice_error,68
38tlvdata,onionmsg_payload,invoice_error,invoice_error,byte,...
39subtype,onionmsg_path
40subtypedata,onionmsg_path,node_id,point,
41subtypedata,onionmsg_path,enclen,u16,
42subtypedata,onionmsg_path,encrypted_recipient_data,byte,enclen
43msgtype,invalid_realm,PERM|1
44msgtype,temporary_node_failure,NODE|2
45msgtype,permanent_node_failure,PERM|NODE|2
46msgtype,required_node_feature_missing,PERM|NODE|3
47msgtype,invalid_onion_version,BADONION|PERM|4
48msgdata,invalid_onion_version,sha256_of_onion,sha256,
49msgtype,invalid_onion_hmac,BADONION|PERM|5
50msgdata,invalid_onion_hmac,sha256_of_onion,sha256,
51msgtype,invalid_onion_key,BADONION|PERM|6
52msgdata,invalid_onion_key,sha256_of_onion,sha256,
53msgtype,temporary_channel_failure,UPDATE|7
54msgdata,temporary_channel_failure,len,u16,
55msgdata,temporary_channel_failure,channel_update,byte,len
56msgtype,permanent_channel_failure,PERM|8
57msgtype,required_channel_feature_missing,PERM|9
58msgtype,unknown_next_peer,PERM|10
59msgtype,amount_below_minimum,UPDATE|11
60msgdata,amount_below_minimum,htlc_msat,u64,
61msgdata,amount_below_minimum,len,u16,
62msgdata,amount_below_minimum,channel_update,byte,len
63msgtype,fee_insufficient,UPDATE|12
64msgdata,fee_insufficient,htlc_msat,u64,
65msgdata,fee_insufficient,len,u16,
66msgdata,fee_insufficient,channel_update,byte,len
67msgtype,incorrect_cltv_expiry,UPDATE|13
68msgdata,incorrect_cltv_expiry,cltv_expiry,u32,
69msgdata,incorrect_cltv_expiry,len,u16,
70msgdata,incorrect_cltv_expiry,channel_update,byte,len
71msgtype,expiry_too_soon,UPDATE|14
72msgdata,expiry_too_soon,len,u16,
73msgdata,expiry_too_soon,channel_update,byte,len
74msgtype,incorrect_or_unknown_payment_details,PERM|15
75msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64,
76msgdata,incorrect_or_unknown_payment_details,height,u32,
77msgtype,final_incorrect_cltv_expiry,18
78msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32,
79msgtype,final_incorrect_htlc_amount,19
80msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64,
81msgtype,channel_disabled,UPDATE|20
82msgdata,channel_disabled,disabled_flags,u16,
83msgdata,channel_disabled,len,u16,
84msgdata,channel_disabled,channel_update,byte,len
85msgtype,expiry_too_far,21
86msgtype,invalid_onion_payload,PERM|22
87msgdata,invalid_onion_payload,type,bigsize,
88msgdata,invalid_onion_payload,offset,u16,
89msgtype,mpp_timeout,23