core-lightning/wire/bolt12_wire.csv
Rusty Russell 5cf86a1a2e common: update to latest onion message spec.
Mainly, field name changes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: Protocol: Support for forwarding blinded payments (as per latest draft)
2022-10-26 11:29:06 +10:30

5.2 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,point,
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,
40tlvtype,invoice_request,chain,3
41tlvdata,invoice_request,chain,chain,chain_hash,
42tlvtype,invoice_request,offer_id,4
43tlvdata,invoice_request,offer_id,offer_id,sha256,
44tlvtype,invoice_request,amount,8
45tlvdata,invoice_request,amount,msat,tu64,
46tlvtype,invoice_request,features,12
47tlvdata,invoice_request,features,features,byte,...
48tlvtype,invoice_request,quantity,32
49tlvdata,invoice_request,quantity,quantity,tu64,
50tlvtype,invoice_request,recurrence_counter,36
51tlvdata,invoice_request,recurrence_counter,counter,tu32,
52tlvtype,invoice_request,recurrence_start,68
53tlvdata,invoice_request,recurrence_start,period_offset,tu32,
54tlvtype,invoice_request,payer_key,38
55tlvdata,invoice_request,payer_key,key,point,
56tlvtype,invoice_request,payer_note,39
57tlvdata,invoice_request,payer_note,note,utf8,...
58tlvtype,invoice_request,payer_info,50
59tlvdata,invoice_request,payer_info,blob,byte,...
60tlvtype,invoice_request,replace_invoice,56
61tlvdata,invoice_request,replace_invoice,payment_hash,sha256,
62tlvtype,invoice_request,signature,240
63tlvdata,invoice_request,signature,sig,bip340sig,
64tlvtype,invoice,chain,3
65tlvdata,invoice,chain,chain,chain_hash,
66tlvtype,invoice,offer_id,4
67tlvdata,invoice,offer_id,offer_id,sha256,
68tlvtype,invoice,amount,8
69tlvdata,invoice,amount,msat,tu64,
70tlvtype,invoice,description,10
71tlvdata,invoice,description,description,utf8,...
72tlvtype,invoice,features,12
73tlvdata,invoice,features,features,byte,...
74tlvtype,invoice,paths,16
75tlvdata,invoice,paths,paths,blinded_path,...
76tlvtype,invoice,blindedpay,18
77tlvdata,invoice,blindedpay,payinfo,blinded_payinfo,...
78tlvtype,invoice,blinded_capacities,19
79tlvdata,invoice,blinded_capacities,incoming_msat,u64,...
80tlvtype,invoice,issuer,20
81tlvdata,invoice,issuer,issuer,utf8,...
82tlvtype,invoice,node_id,30
83tlvdata,invoice,node_id,node_id,point,
84tlvtype,invoice,quantity,32
85tlvdata,invoice,quantity,quantity,tu64,
86tlvtype,invoice,refund_for,34
87tlvdata,invoice,refund_for,refunded_payment_hash,sha256,
88tlvtype,invoice,recurrence_counter,36
89tlvdata,invoice,recurrence_counter,counter,tu32,
90tlvtype,invoice,recurrence_start,68
91tlvdata,invoice,recurrence_start,period_offset,tu32,
92tlvtype,invoice,recurrence_basetime,64
93tlvdata,invoice,recurrence_basetime,basetime,tu64,
94tlvtype,invoice,payer_key,38
95tlvdata,invoice,payer_key,key,point,
96tlvtype,invoice,payer_note,39
97tlvdata,invoice,payer_note,note,utf8,...
98tlvtype,invoice,created_at,40
99tlvdata,invoice,created_at,timestamp,tu64,
100tlvtype,invoice,payment_hash,42
101tlvdata,invoice,payment_hash,payment_hash,sha256,
102tlvtype,invoice,relative_expiry,44
103tlvdata,invoice,relative_expiry,seconds_from_creation,tu32,
104tlvtype,invoice,cltv,46
105tlvdata,invoice,cltv,min_final_cltv_expiry,tu16,
106tlvtype,invoice,fallbacks,48
107tlvdata,invoice,fallbacks,fallbacks,fallback_address,...
108tlvtype,invoice,payer_info,50
109tlvdata,invoice,payer_info,blob,byte,...
110tlvtype,invoice,refund_signature,52
111tlvdata,invoice,refund_signature,payer_signature,bip340sig,
112tlvtype,invoice,send_invoice,54
113tlvtype,invoice,replace_invoice,56
114tlvdata,invoice,replace_invoice,payment_hash,sha256,
115tlvtype,invoice,signature,240
116tlvdata,invoice,signature,sig,bip340sig,
117subtype,blinded_payinfo
118subtypedata,blinded_payinfo,fee_base_msat,u32,
119subtypedata,blinded_payinfo,fee_proportional_millionths,u32,
120subtypedata,blinded_payinfo,cltv_expiry_delta,u16,
121subtypedata,blinded_payinfo,htlc_minimum_msat,u64,
122subtypedata,blinded_payinfo,htlc_maximum_msat,u64,
123subtypedata,blinded_payinfo,flen,u16,
124subtypedata,blinded_payinfo,features,byte,flen
125subtype,fallback_address
126subtypedata,fallback_address,version,byte,
127subtypedata,fallback_address,len,u16,
128subtypedata,fallback_address,address,byte,len
129tlvtype,invoice_error,erroneous_field,1
130tlvdata,invoice_error,erroneous_field,tlv_fieldnum,tu64,
131tlvtype,invoice_error,suggested_value,3
132tlvdata,invoice_error,suggested_value,value,byte,...
133tlvtype,invoice_error,error,5
134tlvdata,invoice_error,error,msg,utf8,...