core-lightning/wire/onion_wire.csv
Rusty Russell 5a483ddd8b wire: Apply onion mesages spec patch even when not experimental.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-01-13 14:45:36 +01:00

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