core-lightning/wire/onion_wire.csv
Rusty Russell 905461f7c4 BOLTs: more catchup ("BOLT 4: More clarifying changes.")
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-16 07:14:32 +10:30

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