core-lightning/wire/bolt12_wire.csv
Rusty Russell 2cd93597cc wire.c: import bolt 12 offers CSV.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-12-09 16:40:13 +10:30

4.3 KiB

1tlvtype,offer_tlvs,chains,2
2tlvdata,offer_tlvs,chains,chains,chain_hash,...
3tlvtype,offer_tlvs,currency,6
4tlvdata,offer_tlvs,currency,iso4217,byte,...
5tlvtype,offer_tlvs,amount,8
6tlvdata,offer_tlvs,amount,amount,tu64,
7tlvtype,offer_tlvs,description,10
8tlvdata,offer_tlvs,description,description,byte,...
9tlvtype,offer_tlvs,features,12
10tlvdata,offer_tlvs,features,features,byte,...
11tlvtype,offer_tlvs,expiry_timestamp,14
12tlvdata,offer_tlvs,expiry_timestamp,expiry_timestamp,tu64,
13tlvtype,offer_tlvs,paths,16
14tlvdata,offer_tlvs,paths,paths,blinded_path,...
15tlvtype,offer_tlvs,vendor,20
16tlvdata,offer_tlvs,vendor,vendor,byte,...
17tlvtype,offer_tlvs,quantity_min,22
18tlvdata,offer_tlvs,quantity_min,min,tu64,
19tlvtype,offer_tlvs,quantity_max,24
20tlvdata,offer_tlvs,quantity_max,max,tu64,
21tlvtype,offer_tlvs,recurrence,26
22tlvdata,offer_tlvs,recurrence,time_unit,byte,
23tlvdata,offer_tlvs,recurrence,period,u32,
24tlvdata,offer_tlvs,recurrence,limit,tu32,
25tlvtype,offer_tlvs,recurrence_base,28
26tlvdata,offer_tlvs,recurrence_base,basetime,u32,
27tlvdata,offer_tlvs,recurrence_base,paywindow,tu32,
28tlvtype,offer_tlvs,node_id,30
29tlvdata,offer_tlvs,node_id,node_id,pubkey32,
30tlvtype,offer_tlvs,signature,240
31tlvdata,offer_tlvs,signature,sig,signature,
32subtype,blinded_path
33subtypedata,blinded_path,blinding,point,
34tlvtype,invoice_request_tlvs,chains,2
35tlvdata,invoice_request_tlvs,chains,chains,chain_hash,...
36tlvtype,invoice_request_tlvs,offer_id,4
37tlvdata,invoice_request_tlvs,offer_id,offer_id,sha256,
38tlvtype,invoice_request_tlvs,amount,8
39tlvdata,invoice_request_tlvs,amount,amount,tu64,
40tlvtype,invoice_request_tlvs,description,10
41tlvdata,invoice_request_tlvs,description,description,byte,...
42tlvtype,invoice_request_tlvs,features,12
43tlvdata,invoice_request_tlvs,features,features,byte,...
44tlvtype,invoice_request_tlvs,paths,16
45tlvdata,invoice_request_tlvs,paths,paths,blinded_path,...
46tlvtype,invoice_request_tlvs,quantity,32
47tlvdata,invoice_request_tlvs,quantity,quantity,tu64,
48tlvtype,invoice_request_tlvs,refund_for,34
49tlvdata,invoice_request_tlvs,refund_for,refunded_payment_hash,sha256,
50tlvtype,invoice_request_tlvs,invoice_request_recurrence,36
51tlvdata,invoice_request_tlvs,invoice_request_recurrence,counter,tu64,
52tlvtype,invoice_request_tlvs,payer_key,38
53tlvdata,invoice_request_tlvs,payer_key,key,pubkey32,
54tlvtype,invoice_tlvs,chains,2
55tlvdata,invoice_tlvs,chains,chains,chain_hash,...
56tlvtype,invoice_tlvs,offer_id,4
57tlvdata,invoice_tlvs,offer_id,offer_id,sha256,
58tlvtype,invoice_tlvs,amount,8
59tlvdata,invoice_tlvs,amount,amount,tu64,
60tlvtype,invoice_tlvs,description,10
61tlvdata,invoice_tlvs,description,description,byte,...
62tlvtype,invoice_tlvs,features,12
63tlvdata,invoice_tlvs,features,features,byte,...
64tlvtype,invoice_tlvs,paths,16
65tlvdata,invoice_tlvs,paths,paths,blinded_path,...
66tlvtype,invoice_tlvs,blindedpay,18
67tlvdata,invoice_tlvs,blindedpay,payinfo,blinded_payinfo,...
68tlvtype,invoice_tlvs,vendor,20
69tlvdata,invoice_tlvs,vendor,vendor,byte,...
70tlvtype,invoice_tlvs,node_id,30
71tlvdata,invoice_tlvs,node_id,node_id,pubkey32,
72tlvtype,invoice_tlvs,quantity,32
73tlvdata,invoice_tlvs,quantity,quantity,tu64,
74tlvtype,invoice_tlvs,refund_for,34
75tlvdata,invoice_tlvs,refund_for,refunded_payment_hash,sha256,
76tlvtype,invoice_tlvs,payer_key,38
77tlvdata,invoice_tlvs,payer_key,key,pubkey32,
78tlvtype,invoice_tlvs,timestamp,40
79tlvdata,invoice_tlvs,timestamp,timestamp,tu32,
80tlvtype,invoice_tlvs,payment_hash,42
81tlvdata,invoice_tlvs,payment_hash,payment_hash,sha256,
82tlvtype,invoice_tlvs,expiry,44
83tlvdata,invoice_tlvs,expiry,expiry_seconds,tu32,
84tlvtype,invoice_tlvs,cltv,46
85tlvdata,invoice_tlvs,cltv,min_final_cltv_expiry,tu32,
86tlvtype,invoice_tlvs,fallbacks,48
87tlvdata,invoice_tlvs,fallbacks,num,u8,
88tlvdata,invoice_tlvs,fallbacks,fallbacks,fallback_address,num
89tlvtype,invoice_tlvs,refund_signature,52
90tlvdata,invoice_tlvs,refund_signature,payer_signature,signature,
91tlvtype,invoice_tlvs,signature,240
92tlvdata,invoice_tlvs,signature,sig,signature,
93subtype,blinded_payinfo
94subtypedata,blinded_payinfo,fee_base_msat,u32,
95subtypedata,blinded_payinfo,fee_proportional_millionths,u32,
96subtypedata,blinded_payinfo,cltv_expiry_delta,u16,
97subtypedata,blinded_payinfo,flen,u16,
98subtypedata,blinded_payinfo,features,byte,flen
99subtype,fallback_address
100subtypedata,fallback_address,type,byte,
101subtypedata,fallback_address,len,u16,
102subtypedata,fallback_address,address,byte,len