rgb-cln/wire/onion_wire.csv

4.8 KiB

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