mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
In particular, this changes the name of a field in invoice_request: `payer_signature` becomes simply `signature`. So we allow both for now, and send the old one unless deprecated_apis is disabled. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
5.3 KiB
5.3 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,chain,3 |
| 46 | tlvdata,invoice_request,chain,chain,chain_hash, |
| 47 | tlvtype,invoice_request,offer_id,4 |
| 48 | tlvdata,invoice_request,offer_id,offer_id,sha256, |
| 49 | tlvtype,invoice_request,amount,8 |
| 50 | tlvdata,invoice_request,amount,msat,tu64, |
| 51 | tlvtype,invoice_request,features,12 |
| 52 | tlvdata,invoice_request,features,features,byte,... |
| 53 | tlvtype,invoice_request,quantity,32 |
| 54 | tlvdata,invoice_request,quantity,quantity,tu64, |
| 55 | tlvtype,invoice_request,recurrence_counter,36 |
| 56 | tlvdata,invoice_request,recurrence_counter,counter,tu32, |
| 57 | tlvtype,invoice_request,recurrence_start,68 |
| 58 | tlvdata,invoice_request,recurrence_start,period_offset,tu32, |
| 59 | tlvtype,invoice_request,payer_key,38 |
| 60 | tlvdata,invoice_request,payer_key,key,point32, |
| 61 | tlvtype,invoice_request,payer_note,39 |
| 62 | tlvdata,invoice_request,payer_note,note,utf8,... |
| 63 | tlvtype,invoice_request,payer_info,50 |
| 64 | tlvdata,invoice_request,payer_info,blob,byte,... |
| 65 | tlvtype,invoice_request,replace_invoice,56 |
| 66 | tlvdata,invoice_request,replace_invoice,payment_hash,sha256, |
| 67 | tlvtype,invoice_request,signature,240 |
| 68 | tlvdata,invoice_request,signature,sig,bip340sig, |
| 69 | tlvtype,invoice,chain,3 |
| 70 | tlvdata,invoice,chain,chain,chain_hash, |
| 71 | tlvtype,invoice,offer_id,4 |
| 72 | tlvdata,invoice,offer_id,offer_id,sha256, |
| 73 | tlvtype,invoice,amount,8 |
| 74 | tlvdata,invoice,amount,msat,tu64, |
| 75 | tlvtype,invoice,description,10 |
| 76 | tlvdata,invoice,description,description,utf8,... |
| 77 | tlvtype,invoice,features,12 |
| 78 | tlvdata,invoice,features,features,byte,... |
| 79 | tlvtype,invoice,paths,16 |
| 80 | tlvdata,invoice,paths,paths,blinded_path,... |
| 81 | tlvtype,invoice,blindedpay,18 |
| 82 | tlvdata,invoice,blindedpay,payinfo,blinded_payinfo,... |
| 83 | tlvtype,invoice,blinded_capacities,19 |
| 84 | tlvdata,invoice,blinded_capacities,incoming_msat,u64,... |
| 85 | tlvtype,invoice,issuer,20 |
| 86 | tlvdata,invoice,issuer,issuer,utf8,... |
| 87 | tlvtype,invoice,node_id,30 |
| 88 | tlvdata,invoice,node_id,node_id,point32, |
| 89 | tlvtype,invoice,quantity,32 |
| 90 | tlvdata,invoice,quantity,quantity,tu64, |
| 91 | tlvtype,invoice,refund_for,34 |
| 92 | tlvdata,invoice,refund_for,refunded_payment_hash,sha256, |
| 93 | tlvtype,invoice,recurrence_counter,36 |
| 94 | tlvdata,invoice,recurrence_counter,counter,tu32, |
| 95 | tlvtype,invoice,send_invoice,54 |
| 96 | tlvtype,invoice,recurrence_start,68 |
| 97 | tlvdata,invoice,recurrence_start,period_offset,tu32, |
| 98 | tlvtype,invoice,recurrence_basetime,64 |
| 99 | tlvdata,invoice,recurrence_basetime,basetime,tu64, |
| 100 | tlvtype,invoice,payer_key,38 |
| 101 | tlvdata,invoice,payer_key,key,point32, |
| 102 | tlvtype,invoice,payer_note,39 |
| 103 | tlvdata,invoice,payer_note,note,utf8,... |
| 104 | tlvtype,invoice,created_at,40 |
| 105 | tlvdata,invoice,created_at,timestamp,tu64, |
| 106 | tlvtype,invoice,payment_hash,42 |
| 107 | tlvdata,invoice,payment_hash,payment_hash,sha256, |
| 108 | tlvtype,invoice,relative_expiry,44 |
| 109 | tlvdata,invoice,relative_expiry,seconds_from_creation,tu32, |
| 110 | tlvtype,invoice,cltv,46 |
| 111 | tlvdata,invoice,cltv,min_final_cltv_expiry,tu16, |
| 112 | tlvtype,invoice,fallbacks,48 |
| 113 | tlvdata,invoice,fallbacks,fallbacks,fallback_address,... |
| 114 | tlvtype,invoice,payer_info,50 |
| 115 | tlvdata,invoice,payer_info,blob,byte,... |
| 116 | tlvtype,invoice,refund_signature,52 |
| 117 | tlvdata,invoice,refund_signature,payer_signature,bip340sig, |
| 118 | tlvtype,invoice,replace_invoice,56 |
| 119 | tlvdata,invoice,replace_invoice,payment_hash,sha256, |
| 120 | tlvtype,invoice,signature,240 |
| 121 | tlvdata,invoice,signature,sig,bip340sig, |
| 122 | subtype,blinded_payinfo |
| 123 | subtypedata,blinded_payinfo,fee_base_msat,u32, |
| 124 | subtypedata,blinded_payinfo,fee_proportional_millionths,u32, |
| 125 | subtypedata,blinded_payinfo,cltv_expiry_delta,u16, |
| 126 | subtypedata,blinded_payinfo,flen,u16, |
| 127 | subtypedata,blinded_payinfo,features,byte,flen |
| 128 | subtype,fallback_address |
| 129 | subtypedata,fallback_address,version,byte, |
| 130 | subtypedata,fallback_address,len,u16, |
| 131 | subtypedata,fallback_address,address,byte,len |
| 132 | tlvtype,invoice_error,erroneous_field,1 |
| 133 | tlvdata,invoice_error,erroneous_field,tlv_fieldnum,tu64, |
| 134 | tlvtype,invoice_error,suggested_value,3 |
| 135 | tlvdata,invoice_error,suggested_value,value,byte,... |
| 136 | tlvtype,invoice_error,error,5 |
| 137 | tlvdata,invoice_error,error,msg,utf8,... |