core-lightning/wire/bolt12_exp_wire.csv
Rusty Russell c92ce59892 BOLT 12: switch invoice_request/invoice to singular chain field.
We keep the now-removed chains field, and in deprecated mode, we set it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: bolt12: `chains` in invoice_request and invoice is deprecated, `chain` is used instead.
2021-10-08 13:47:30 +02:00

5.5 KiB

1tlvtype,offer,chains,2
2tlvdata,offer,chains,chains,chain_hash,...
3tlvtype,offer,currency,6
4tlvdata,offer,currency,iso4217,utf8,...
5tlvtype,offer,amount,8
6tlvdata,offer,amount,amount,tu64,
7tlvtype,offer,description,10
8tlvdata,offer,description,description,utf8,...
9tlvtype,offer,features,12
10tlvdata,offer,features,features,byte,...
11tlvtype,offer,absolute_expiry,14
12tlvdata,offer,absolute_expiry,seconds_from_epoch,tu64,
13tlvtype,offer,paths,16
14tlvdata,offer,paths,paths,blinded_path,...
15tlvtype,offer,issuer,20
16tlvdata,offer,issuer,issuer,utf8,...
17tlvtype,offer,quantity_min,22
18tlvdata,offer,quantity_min,min,tu64,
19tlvtype,offer,quantity_max,24
20tlvdata,offer,quantity_max,max,tu64,
21tlvtype,offer,recurrence,26
22tlvdata,offer,recurrence,time_unit,byte,
23tlvdata,offer,recurrence,period,tu32,
24tlvtype,offer,recurrence_paywindow,64
25tlvdata,offer,recurrence_paywindow,seconds_before,u32,
26tlvdata,offer,recurrence_paywindow,proportional_amount,byte,
27tlvdata,offer,recurrence_paywindow,seconds_after,tu32,
28tlvtype,offer,recurrence_limit,66
29tlvdata,offer,recurrence_limit,max_period,tu32,
30tlvtype,offer,recurrence_base,28
31tlvdata,offer,recurrence_base,start_any_period,byte,
32tlvdata,offer,recurrence_base,basetime,tu64,
33tlvtype,offer,node_id,30
34tlvdata,offer,node_id,node_id,point32,
35tlvtype,offer,send_invoice,54
36tlvtype,offer,refund_for,34
37tlvdata,offer,refund_for,refunded_payment_hash,sha256,
38tlvtype,offer,signature,240
39tlvdata,offer,signature,sig,bip340sig,
40subtype,blinded_path
41subtypedata,blinded_path,first_node_id,point,
42subtypedata,blinded_path,blinding,point,
43subtypedata,blinded_path,num_hops,byte,
44subtypedata,blinded_path,path,onionmsg_path,num_hops
45tlvtype,invoice_request,chains,2
46tlvdata,invoice_request,chains,chains,chain_hash,...
47tlvtype,invoice_request,chain,3
48tlvdata,invoice_request,chain,chain,chain_hash,
49tlvtype,invoice_request,offer_id,4
50tlvdata,invoice_request,offer_id,offer_id,sha256,
51tlvtype,invoice_request,amount,8
52tlvdata,invoice_request,amount,msat,tu64,
53tlvtype,invoice_request,features,12
54tlvdata,invoice_request,features,features,byte,...
55tlvtype,invoice_request,quantity,32
56tlvdata,invoice_request,quantity,quantity,tu64,
57tlvtype,invoice_request,recurrence_counter,36
58tlvdata,invoice_request,recurrence_counter,counter,tu32,
59tlvtype,invoice_request,recurrence_start,68
60tlvdata,invoice_request,recurrence_start,period_offset,tu32,
61tlvtype,invoice_request,payer_key,38
62tlvdata,invoice_request,payer_key,key,point32,
63tlvtype,invoice_request,payer_note,39
64tlvdata,invoice_request,payer_note,note,utf8,...
65tlvtype,invoice_request,payer_info,50
66tlvdata,invoice_request,payer_info,blob,byte,...
67tlvtype,invoice_request,replace_invoice,56
68tlvdata,invoice_request,replace_invoice,payment_hash,sha256,
69tlvtype,invoice_request,payer_signature,240
70tlvdata,invoice_request,payer_signature,sig,bip340sig,
71tlvtype,invoice,chains,2
72tlvdata,invoice,chains,chains,chain_hash,...
73tlvtype,invoice,chain,3
74tlvdata,invoice,chain,chain,chain_hash,
75tlvtype,invoice,offer_id,4
76tlvdata,invoice,offer_id,offer_id,sha256,
77tlvtype,invoice,amount,8
78tlvdata,invoice,amount,msat,tu64,
79tlvtype,invoice,description,10
80tlvdata,invoice,description,description,utf8,...
81tlvtype,invoice,features,12
82tlvdata,invoice,features,features,byte,...
83tlvtype,invoice,paths,16
84tlvdata,invoice,paths,paths,blinded_path,...
85tlvtype,invoice,blindedpay,18
86tlvdata,invoice,blindedpay,payinfo,blinded_payinfo,...
87tlvtype,invoice,blinded_capacities,19
88tlvdata,invoice,blinded_capacities,incoming_msat,u64,...
89tlvtype,invoice,issuer,20
90tlvdata,invoice,issuer,issuer,utf8,...
91tlvtype,invoice,node_id,30
92tlvdata,invoice,node_id,node_id,point32,
93tlvtype,invoice,quantity,32
94tlvdata,invoice,quantity,quantity,tu64,
95tlvtype,invoice,refund_for,34
96tlvdata,invoice,refund_for,refunded_payment_hash,sha256,
97tlvtype,invoice,recurrence_counter,36
98tlvdata,invoice,recurrence_counter,counter,tu32,
99tlvtype,invoice,send_invoice,54
100tlvtype,invoice,recurrence_start,68
101tlvdata,invoice,recurrence_start,period_offset,tu32,
102tlvtype,invoice,recurrence_basetime,64
103tlvdata,invoice,recurrence_basetime,basetime,tu64,
104tlvtype,invoice,payer_key,38
105tlvdata,invoice,payer_key,key,point32,
106tlvtype,invoice,payer_note,39
107tlvdata,invoice,payer_note,note,utf8,...
108tlvtype,invoice,payer_info,50
109tlvdata,invoice,payer_info,blob,byte,...
110tlvtype,invoice,created_at,40
111tlvdata,invoice,created_at,timestamp,tu64,
112tlvtype,invoice,payment_hash,42
113tlvdata,invoice,payment_hash,payment_hash,sha256,
114tlvtype,invoice,relative_expiry,44
115tlvdata,invoice,relative_expiry,seconds_from_creation,tu32,
116tlvtype,invoice,cltv,46
117tlvdata,invoice,cltv,min_final_cltv_expiry,tu32,
118tlvtype,invoice,fallbacks,48
119tlvdata,invoice,fallbacks,num,byte,
120tlvdata,invoice,fallbacks,fallbacks,fallback_address,num
121tlvtype,invoice,refund_signature,52
122tlvdata,invoice,refund_signature,payer_signature,bip340sig,
123tlvtype,invoice,replace_invoice,56
124tlvdata,invoice,replace_invoice,payment_hash,sha256,
125tlvtype,invoice,signature,240
126tlvdata,invoice,signature,sig,bip340sig,
127subtype,blinded_payinfo
128subtypedata,blinded_payinfo,fee_base_msat,u32,
129subtypedata,blinded_payinfo,fee_proportional_millionths,u32,
130subtypedata,blinded_payinfo,cltv_expiry_delta,u16,
131subtypedata,blinded_payinfo,flen,u16,
132subtypedata,blinded_payinfo,features,byte,flen
133subtype,fallback_address
134subtypedata,fallback_address,version,byte,
135subtypedata,fallback_address,len,u16,
136subtypedata,fallback_address,address,byte,len
137tlvtype,invoice_error,erroneous_field,1
138tlvdata,invoice_error,erroneous_field,tlv_fieldnum,tu64,
139tlvtype,invoice_error,suggested_value,3
140tlvdata,invoice_error,suggested_value,value,byte,...
141tlvtype,invoice_error,error,5
142tlvdata,invoice_error,error,msg,utf8,...