core-lightning/wire/onion_wire.csv
Rusty Russell c67f5b301e wire: fix up regeneration
We didn't rename the _csv to .csv, which patterns expect if you're
regenerating (e.g. if you switch on --enable-experimental-features
then switch it off again!)

Also remove unused experimental targets.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-09-09 16:23:58 +09:30

2.3 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,
11msgtype,invalid_realm,PERM|1
12msgtype,temporary_node_failure,NODE|2
13msgtype,permanent_node_failure,PERM|NODE|2
14msgtype,required_node_feature_missing,PERM|NODE|3
15msgtype,invalid_onion_version,BADONION|PERM|4
16msgdata,invalid_onion_version,sha256_of_onion,sha256,
17msgtype,invalid_onion_hmac,BADONION|PERM|5
18msgdata,invalid_onion_hmac,sha256_of_onion,sha256,
19msgtype,invalid_onion_key,BADONION|PERM|6
20msgdata,invalid_onion_key,sha256_of_onion,sha256,
21msgtype,temporary_channel_failure,UPDATE|7
22msgdata,temporary_channel_failure,len,u16,
23msgdata,temporary_channel_failure,channel_update,byte,len
24msgtype,permanent_channel_failure,PERM|8
25msgtype,required_channel_feature_missing,PERM|9
26msgtype,unknown_next_peer,PERM|10
27msgtype,amount_below_minimum,UPDATE|11
28msgdata,amount_below_minimum,htlc_msat,u64,
29msgdata,amount_below_minimum,len,u16,
30msgdata,amount_below_minimum,channel_update,byte,len
31msgtype,fee_insufficient,UPDATE|12
32msgdata,fee_insufficient,htlc_msat,u64,
33msgdata,fee_insufficient,len,u16,
34msgdata,fee_insufficient,channel_update,byte,len
35msgtype,incorrect_cltv_expiry,UPDATE|13
36msgdata,incorrect_cltv_expiry,cltv_expiry,u32,
37msgdata,incorrect_cltv_expiry,len,u16,
38msgdata,incorrect_cltv_expiry,channel_update,byte,len
39msgtype,expiry_too_soon,UPDATE|14
40msgdata,expiry_too_soon,len,u16,
41msgdata,expiry_too_soon,channel_update,byte,len
42msgtype,incorrect_or_unknown_payment_details,PERM|15
43msgdata,incorrect_or_unknown_payment_details,htlc_msat,u64,
44msgdata,incorrect_or_unknown_payment_details,height,u32,
45msgtype,final_incorrect_cltv_expiry,18
46msgdata,final_incorrect_cltv_expiry,cltv_expiry,u32,
47msgtype,final_incorrect_htlc_amount,19
48msgdata,final_incorrect_htlc_amount,incoming_htlc_amt,u64,
49msgtype,channel_disabled,UPDATE|20
50msgtype,expiry_too_far,21
51msgtype,invalid_onion_payload,PERM|22
52msgdata,invalid_onion_payload,type,bigsize,
53msgdata,invalid_onion_payload,offset,u16,
54msgtype,mpp_timeout,23