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