mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 17:44:47 +01:00
18b6aa5e66
We don't support it (yet), but update the spec to include it. We include the previous field (recurrence_signature) as a shim for the moment, for compat with existing nodes. It's ugly, but next release we'll stop *sending* it, then finally we'll stop accepting it! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5.4 KiB
5.4 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,vendor,20 |
16 | tlvdata,offer,vendor,vendor,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,pubkey32, |
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,blinding,point, |
42 | subtypedata,blinded_path,num_hops,u16, |
43 | subtypedata,blinded_path,path,onionmsg_path,num_hops |
44 | tlvtype,invoice_request,chains,2 |
45 | tlvdata,invoice_request,chains,chains,chain_hash,... |
46 | tlvtype,invoice_request,offer_id,4 |
47 | tlvdata,invoice_request,offer_id,offer_id,sha256, |
48 | tlvtype,invoice_request,amount,8 |
49 | tlvdata,invoice_request,amount,msat,tu64, |
50 | tlvtype,invoice_request,features,12 |
51 | tlvdata,invoice_request,features,features,byte,... |
52 | tlvtype,invoice_request,quantity,32 |
53 | tlvdata,invoice_request,quantity,quantity,tu64, |
54 | tlvtype,invoice_request,recurrence_counter,36 |
55 | tlvdata,invoice_request,recurrence_counter,counter,tu32, |
56 | tlvtype,invoice_request,recurrence_start,68 |
57 | tlvdata,invoice_request,recurrence_start,period_offset,tu32, |
58 | tlvtype,invoice_request,payer_key,38 |
59 | tlvdata,invoice_request,payer_key,key,pubkey32, |
60 | tlvtype,invoice_request,payer_note,39 |
61 | tlvdata,invoice_request,payer_note,note,utf8,... |
62 | tlvtype,invoice_request,payer_info,50 |
63 | tlvdata,invoice_request,payer_info,blob,byte,... |
64 | tlvtype,invoice_request,replace_invoice,56 |
65 | tlvdata,invoice_request,replace_invoice,payment_hash,sha256, |
66 | tlvtype,invoice_request,payer_signature,241 |
67 | tlvdata,invoice_request,payer_signature,sig,bip340sig, |
68 | tlvtype,invoice_request,recurrence_signature,240 |
69 | tlvdata,invoice_request,recurrence_signature,sig,bip340sig, |
70 | tlvtype,invoice,chains,2 |
71 | tlvdata,invoice,chains,chains,chain_hash,... |
72 | tlvtype,invoice,offer_id,4 |
73 | tlvdata,invoice,offer_id,offer_id,sha256, |
74 | tlvtype,invoice,amount,8 |
75 | tlvdata,invoice,amount,msat,tu64, |
76 | tlvtype,invoice,description,10 |
77 | tlvdata,invoice,description,description,utf8,... |
78 | tlvtype,invoice,features,12 |
79 | tlvdata,invoice,features,features,byte,... |
80 | tlvtype,invoice,paths,16 |
81 | tlvdata,invoice,paths,paths,blinded_path,... |
82 | tlvtype,invoice,blindedpay,18 |
83 | tlvdata,invoice,blindedpay,payinfo,blinded_payinfo,... |
84 | tlvtype,invoice,blinded_capacities,19 |
85 | tlvdata,invoice,blinded_capacities,incoming_msat,u64,... |
86 | tlvtype,invoice,vendor,20 |
87 | tlvdata,invoice,vendor,vendor,utf8,... |
88 | tlvtype,invoice,node_id,30 |
89 | tlvdata,invoice,node_id,node_id,pubkey32, |
90 | tlvtype,invoice,quantity,32 |
91 | tlvdata,invoice,quantity,quantity,tu64, |
92 | tlvtype,invoice,refund_for,34 |
93 | tlvdata,invoice,refund_for,refunded_payment_hash,sha256, |
94 | tlvtype,invoice,recurrence_counter,36 |
95 | tlvdata,invoice,recurrence_counter,counter,tu32, |
96 | tlvtype,invoice,send_invoice,54 |
97 | tlvtype,invoice,recurrence_start,68 |
98 | tlvdata,invoice,recurrence_start,period_offset,tu32, |
99 | tlvtype,invoice,recurrence_basetime,64 |
100 | tlvdata,invoice,recurrence_basetime,basetime,tu64, |
101 | tlvtype,invoice,payer_key,38 |
102 | tlvdata,invoice,payer_key,key,pubkey32, |
103 | tlvtype,invoice,payer_note,39 |
104 | tlvdata,invoice,payer_note,note,utf8,... |
105 | tlvtype,invoice,payer_info,50 |
106 | tlvdata,invoice,payer_info,blob,byte,... |
107 | tlvtype,invoice,timestamp,40 |
108 | tlvdata,invoice,timestamp,timestamp,tu64, |
109 | tlvtype,invoice,payment_hash,42 |
110 | tlvdata,invoice,payment_hash,payment_hash,sha256, |
111 | tlvtype,invoice,relative_expiry,44 |
112 | tlvdata,invoice,relative_expiry,seconds_from_timestamp,tu32, |
113 | tlvtype,invoice,cltv,46 |
114 | tlvdata,invoice,cltv,min_final_cltv_expiry,tu32, |
115 | tlvtype,invoice,fallbacks,48 |
116 | tlvdata,invoice,fallbacks,num,u8, |
117 | tlvdata,invoice,fallbacks,fallbacks,fallback_address,num |
118 | tlvtype,invoice,refund_signature,52 |
119 | tlvdata,invoice,refund_signature,payer_signature,bip340sig, |
120 | tlvtype,invoice,replace_invoice,56 |
121 | tlvdata,invoice,replace_invoice,payment_hash,sha256, |
122 | tlvtype,invoice,signature,240 |
123 | tlvdata,invoice,signature,sig,bip340sig, |
124 | subtype,blinded_payinfo |
125 | subtypedata,blinded_payinfo,fee_base_msat,u32, |
126 | subtypedata,blinded_payinfo,fee_proportional_millionths,u32, |
127 | subtypedata,blinded_payinfo,cltv_expiry_delta,u16, |
128 | subtypedata,blinded_payinfo,flen,u16, |
129 | subtypedata,blinded_payinfo,features,byte,flen |
130 | subtype,fallback_address |
131 | subtypedata,fallback_address,version,byte, |
132 | subtypedata,fallback_address,len,u16, |
133 | subtypedata,fallback_address,address,byte,len |
134 | tlvtype,invoice_error,erroneous_field,1 |
135 | tlvdata,invoice_error,erroneous_field,tlv_fieldnum,tu64, |
136 | tlvtype,invoice_error,suggested_value,3 |
137 | tlvdata,invoice_error,suggested_value,value,byte,... |
138 | tlvtype,invoice_error,error,5 |
139 | tlvdata,invoice_error,error,msg,utf8,... |