core-lightning/wire/peer_wire.csv
Dusty Daemon 6d63e68e99 splice: Update messages to spec
Changelog-Changed: Splicing moved from test numbers to spec numbers.
2024-11-21 14:15:36 +10:30

17 KiB

1msgtype,init,16
2msgdata,init,gflen,u16,
3msgdata,init,globalfeatures,byte,gflen
4msgdata,init,flen,u16,
5msgdata,init,features,byte,flen
6msgdata,init,tlvs,init_tlvs,
7tlvtype,init_tlvs,networks,1
8tlvdata,init_tlvs,networks,chains,chain_hash,...
9tlvtype,init_tlvs,remote_addr,3
10tlvdata,init_tlvs,remote_addr,data,byte,...
11msgtype,error,17
12msgdata,error,channel_id,channel_id,
13msgdata,error,len,u16,
14msgdata,error,data,byte,len
15msgtype,warning,1
16msgdata,warning,channel_id,channel_id,
17msgdata,warning,len,u16,
18msgdata,warning,data,byte,len
19msgtype,ping,18
20msgdata,ping,num_pong_bytes,u16,
21msgdata,ping,byteslen,u16,
22msgdata,ping,ignored,byte,byteslen
23msgtype,pong,19
24msgdata,pong,byteslen,u16,
25msgdata,pong,ignored,byte,byteslen
26tlvtype,n1,tlv1,1
27tlvdata,n1,tlv1,amount_msat,tu64,
28tlvtype,n1,tlv2,2
29tlvdata,n1,tlv2,scid,short_channel_id,
30tlvtype,n1,tlv3,3
31tlvdata,n1,tlv3,node_id,point,
32tlvdata,n1,tlv3,amount_msat_1,u64,
33tlvdata,n1,tlv3,amount_msat_2,u64,
34tlvtype,n1,tlv4,254
35tlvdata,n1,tlv4,cltv_delta,u16,
36tlvtype,n2,tlv1,0
37tlvdata,n2,tlv1,amount_msat,tu64,
38tlvtype,n2,tlv2,11
39tlvdata,n2,tlv2,cltv_expiry,tu32,
40msgtype,tx_add_input,66
41msgdata,tx_add_input,channel_id,channel_id,
42msgdata,tx_add_input,serial_id,u64,
43msgdata,tx_add_input,prevtx_len,u16,
44msgdata,tx_add_input,prevtx,byte,prevtx_len
45msgdata,tx_add_input,prevtx_vout,u32,
46msgdata,tx_add_input,sequence,u32,
47msgdata,tx_add_input,tlvs,tx_add_input_tlvs,
48tlvtype,tx_add_input_tlvs,shared_input_txid,0
49tlvdata,tx_add_input_tlvs,shared_input_txid,funding_txid,sha256,
50msgtype,tx_add_output,67
51msgdata,tx_add_output,channel_id,channel_id,
52msgdata,tx_add_output,serial_id,u64,
53msgdata,tx_add_output,sats,u64,
54msgdata,tx_add_output,scriptlen,u16,
55msgdata,tx_add_output,script,byte,scriptlen
56msgtype,tx_remove_input,68
57msgdata,tx_remove_input,channel_id,channel_id,
58msgdata,tx_remove_input,serial_id,u64,
59msgtype,tx_remove_output,69
60msgdata,tx_remove_output,channel_id,channel_id,
61msgdata,tx_remove_output,serial_id,u64,
62msgtype,tx_complete,70
63msgdata,tx_complete,channel_id,channel_id,
64msgtype,tx_signatures,71
65msgdata,tx_signatures,channel_id,channel_id,
66msgdata,tx_signatures,txid,sha256,
67msgdata,tx_signatures,num_witnesses,u16,
68msgdata,tx_signatures,witnesses,witness,num_witnesses
69msgdata,tx_signatures,tlvs,txsigs_tlvs,
70subtype,witness
71subtypedata,witness,len,u16,
72subtypedata,witness,witness_data,byte,len
73tlvtype,txsigs_tlvs,shared_input_signature,0
74tlvdata,txsigs_tlvs,shared_input_signature,signature,signature,
75msgtype,tx_init_rbf,72
76msgdata,tx_init_rbf,channel_id,channel_id,
77msgdata,tx_init_rbf,locktime,u32,
78msgdata,tx_init_rbf,feerate,u32,
79msgdata,tx_init_rbf,tlvs,tx_init_rbf_tlvs,
80tlvtype,tx_init_rbf_tlvs,funding_output_contribution,0
81tlvdata,tx_init_rbf_tlvs,funding_output_contribution,satoshis,s64,
82tlvtype,tx_init_rbf_tlvs,require_confirmed_inputs,2
83msgtype,tx_ack_rbf,73
84msgdata,tx_ack_rbf,channel_id,channel_id,
85msgdata,tx_ack_rbf,tlvs,tx_ack_rbf_tlvs,
86tlvtype,tx_ack_rbf_tlvs,funding_output_contribution,0
87tlvdata,tx_ack_rbf_tlvs,funding_output_contribution,satoshis,s64,
88tlvtype,tx_ack_rbf_tlvs,require_confirmed_inputs,2
89msgtype,tx_abort,74
90msgdata,tx_abort,channel_id,channel_id,
91msgdata,tx_abort,len,u16,
92msgdata,tx_abort,data,byte,len
93msgtype,open_channel,32
94msgdata,open_channel,chain_hash,chain_hash,
95msgdata,open_channel,temporary_channel_id,byte,32
96msgdata,open_channel,funding_satoshis,u64,
97msgdata,open_channel,push_msat,u64,
98msgdata,open_channel,dust_limit_satoshis,u64,
99msgdata,open_channel,max_htlc_value_in_flight_msat,u64,
100msgdata,open_channel,channel_reserve_satoshis,u64,
101msgdata,open_channel,htlc_minimum_msat,u64,
102msgdata,open_channel,feerate_per_kw,u32,
103msgdata,open_channel,to_self_delay,u16,
104msgdata,open_channel,max_accepted_htlcs,u16,
105msgdata,open_channel,funding_pubkey,point,
106msgdata,open_channel,revocation_basepoint,point,
107msgdata,open_channel,payment_basepoint,point,
108msgdata,open_channel,delayed_payment_basepoint,point,
109msgdata,open_channel,htlc_basepoint,point,
110msgdata,open_channel,first_per_commitment_point,point,
111msgdata,open_channel,channel_flags,byte,
112msgdata,open_channel,tlvs,open_channel_tlvs,
113tlvtype,open_channel_tlvs,upfront_shutdown_script,0
114tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
115tlvtype,open_channel_tlvs,channel_type,1
116tlvdata,open_channel_tlvs,channel_type,type,byte,...
117msgtype,accept_channel,33
118msgdata,accept_channel,temporary_channel_id,byte,32
119msgdata,accept_channel,dust_limit_satoshis,u64,
120msgdata,accept_channel,max_htlc_value_in_flight_msat,u64,
121msgdata,accept_channel,channel_reserve_satoshis,u64,
122msgdata,accept_channel,htlc_minimum_msat,u64,
123msgdata,accept_channel,minimum_depth,u32,
124msgdata,accept_channel,to_self_delay,u16,
125msgdata,accept_channel,max_accepted_htlcs,u16,
126msgdata,accept_channel,funding_pubkey,point,
127msgdata,accept_channel,revocation_basepoint,point,
128msgdata,accept_channel,payment_basepoint,point,
129msgdata,accept_channel,delayed_payment_basepoint,point,
130msgdata,accept_channel,htlc_basepoint,point,
131msgdata,accept_channel,first_per_commitment_point,point,
132msgdata,accept_channel,tlvs,accept_channel_tlvs,
133tlvtype,accept_channel_tlvs,upfront_shutdown_script,0
134tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
135tlvtype,accept_channel_tlvs,channel_type,1
136tlvdata,accept_channel_tlvs,channel_type,type,byte,...
137msgtype,funding_created,34
138msgdata,funding_created,temporary_channel_id,byte,32
139msgdata,funding_created,funding_txid,sha256,
140msgdata,funding_created,funding_output_index,u16,
141msgdata,funding_created,signature,signature,
142msgtype,funding_signed,35
143msgdata,funding_signed,channel_id,channel_id,
144msgdata,funding_signed,signature,signature,
145msgtype,channel_ready,36
146msgdata,channel_ready,channel_id,channel_id,
147msgdata,channel_ready,second_per_commitment_point,point,
148msgdata,channel_ready,tlvs,channel_ready_tlvs,
149tlvtype,channel_ready_tlvs,short_channel_id,1
150tlvdata,channel_ready_tlvs,short_channel_id,alias,short_channel_id,
151msgtype,open_channel2,64
152msgdata,open_channel2,chain_hash,chain_hash,
153msgdata,open_channel2,temporary_channel_id,channel_id,
154msgdata,open_channel2,funding_feerate_perkw,u32,
155msgdata,open_channel2,commitment_feerate_perkw,u32,
156msgdata,open_channel2,funding_satoshis,u64,
157msgdata,open_channel2,dust_limit_satoshis,u64,
158msgdata,open_channel2,max_htlc_value_in_flight_msat,u64,
159msgdata,open_channel2,htlc_minimum_msat,u64,
160msgdata,open_channel2,to_self_delay,u16,
161msgdata,open_channel2,max_accepted_htlcs,u16,
162msgdata,open_channel2,locktime,u32,
163msgdata,open_channel2,funding_pubkey,point,
164msgdata,open_channel2,revocation_basepoint,point,
165msgdata,open_channel2,payment_basepoint,point,
166msgdata,open_channel2,delayed_payment_basepoint,point,
167msgdata,open_channel2,htlc_basepoint,point,
168msgdata,open_channel2,first_per_commitment_point,point,
169msgdata,open_channel2,second_per_commitment_point,point,
170msgdata,open_channel2,channel_flags,byte,
171msgdata,open_channel2,tlvs,opening_tlvs,
172tlvtype,opening_tlvs,upfront_shutdown_script,0
173tlvdata,opening_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
174tlvtype,opening_tlvs,channel_type,1
175tlvdata,opening_tlvs,channel_type,type,byte,...
176tlvtype,opening_tlvs,require_confirmed_inputs,2
177tlvtype,opening_tlvs,request_funds,3
178tlvdata,opening_tlvs,request_funds,requested_sats,u64,
179tlvdata,opening_tlvs,request_funds,blockheight,u32,
180msgtype,accept_channel2,65
181msgdata,accept_channel2,temporary_channel_id,channel_id,
182msgdata,accept_channel2,funding_satoshis,u64,
183msgdata,accept_channel2,dust_limit_satoshis,u64,
184msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64,
185msgdata,accept_channel2,htlc_minimum_msat,u64,
186msgdata,accept_channel2,minimum_depth,u32,
187msgdata,accept_channel2,to_self_delay,u16,
188msgdata,accept_channel2,max_accepted_htlcs,u16,
189msgdata,accept_channel2,funding_pubkey,point,
190msgdata,accept_channel2,revocation_basepoint,point,
191msgdata,accept_channel2,payment_basepoint,point,
192msgdata,accept_channel2,delayed_payment_basepoint,point,
193msgdata,accept_channel2,htlc_basepoint,point,
194msgdata,accept_channel2,first_per_commitment_point,point,
195msgdata,accept_channel2,second_per_commitment_point,point,
196msgdata,accept_channel2,tlvs,accept_tlvs,
197tlvtype,accept_tlvs,upfront_shutdown_script,0
198tlvdata,accept_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
199tlvtype,accept_tlvs,channel_type,1
200tlvdata,accept_tlvs,channel_type,type,byte,...
201tlvtype,accept_tlvs,require_confirmed_inputs,2
202tlvtype,accept_tlvs,will_fund,3
203tlvdata,accept_tlvs,will_fund,signature,signature,
204tlvdata,accept_tlvs,will_fund,lease_rates,lease_rates,
205subtype,lease_rates
206subtypedata,lease_rates,funding_weight,u16,
207subtypedata,lease_rates,lease_fee_basis,u16,
208subtypedata,lease_rates,channel_fee_max_proportional_thousandths,u16,
209subtypedata,lease_rates,lease_fee_base_sat,u32,
210subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
211msgtype,stfu,2
212msgdata,stfu,channel_id,channel_id,
213msgdata,stfu,initiator,u8,
214msgtype,splice,80
215msgdata,splice,channel_id,channel_id,
216msgdata,splice,relative_satoshis,s64,
217msgdata,splice,funding_feerate_perkw,u32,
218msgdata,splice,locktime,u32,
219msgdata,splice,funding_pubkey,point,
220msgtype,splice_ack,81
221msgdata,splice_ack,channel_id,channel_id,
222msgdata,splice_ack,relative_satoshis,s64,
223msgdata,splice_ack,funding_pubkey,point,
224msgtype,splice_locked,77,
225msgdata,splice_locked,channel_id,channel_id,
226msgtype,shutdown,38
227msgdata,shutdown,channel_id,channel_id,
228msgdata,shutdown,len,u16,
229msgdata,shutdown,scriptpubkey,byte,len
230msgdata,shutdown,tlvs,shutdown_tlvs,
231tlvtype,shutdown_tlvs,wrong_funding,100
232tlvdata,shutdown_tlvs,wrong_funding,txid,sha256,
233tlvdata,shutdown_tlvs,wrong_funding,outnum,u32,
234msgtype,closing_signed,39
235msgdata,closing_signed,channel_id,channel_id,
236msgdata,closing_signed,fee_satoshis,u64,
237msgdata,closing_signed,signature,signature,
238msgdata,closing_signed,tlvs,closing_signed_tlvs,
239tlvtype,closing_signed_tlvs,fee_range,1
240tlvdata,closing_signed_tlvs,fee_range,min_fee_satoshis,u64,
241tlvdata,closing_signed_tlvs,fee_range,max_fee_satoshis,u64,
242msgtype,update_add_htlc,128
243msgdata,update_add_htlc,channel_id,channel_id,
244msgdata,update_add_htlc,id,u64,
245msgdata,update_add_htlc,amount_msat,u64,
246msgdata,update_add_htlc,payment_hash,sha256,
247msgdata,update_add_htlc,cltv_expiry,u32,
248msgdata,update_add_htlc,onion_routing_packet,byte,1366
249tlvtype,update_add_htlc_tlvs,blinded_path,0
250tlvdata,update_add_htlc_tlvs,blinded_path,path_key,point,
251msgtype,update_fulfill_htlc,130
252msgdata,update_fulfill_htlc,channel_id,channel_id,
253msgdata,update_fulfill_htlc,id,u64,
254msgdata,update_fulfill_htlc,payment_preimage,byte,32
255msgtype,update_fail_htlc,131
256msgdata,update_fail_htlc,channel_id,channel_id,
257msgdata,update_fail_htlc,id,u64,
258msgdata,update_fail_htlc,len,u16,
259msgdata,update_fail_htlc,reason,byte,len
260msgtype,update_fail_malformed_htlc,135
261msgdata,update_fail_malformed_htlc,channel_id,channel_id,
262msgdata,update_fail_malformed_htlc,id,u64,
263msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
264msgdata,update_fail_malformed_htlc,failure_code,u16,
265msgtype,commitment_signed,132
266msgdata,commitment_signed,channel_id,channel_id,
267msgdata,commitment_signed,signature,signature,
268msgdata,commitment_signed,num_htlcs,u16,
269msgdata,commitment_signed,htlc_signature,signature,num_htlcs
270msgdata,commitment_signed,splice_channel_id,commitment_signed_tlvs,
271tlvtype,commitment_signed_tlvs,splice_info,0
272tlvdata,commitment_signed_tlvs,splice_info,batch_size,u16,
273tlvdata,commitment_signed_tlvs,splice_info,funding_txid,channel_id,
274msgtype,revoke_and_ack,133
275msgdata,revoke_and_ack,channel_id,channel_id,
276msgdata,revoke_and_ack,per_commitment_secret,byte,32
277msgdata,revoke_and_ack,next_per_commitment_point,point,
278msgtype,update_fee,134
279msgdata,update_fee,channel_id,channel_id,
280msgdata,update_fee,feerate_per_kw,u32,
281msgtype,update_blockheight,137
282msgdata,update_blockheight,channel_id,channel_id,
283msgdata,update_blockheight,blockheight,u32,
284msgtype,channel_reestablish,136
285msgdata,channel_reestablish,channel_id,channel_id,
286msgdata,channel_reestablish,next_commitment_number,u64,
287msgdata,channel_reestablish,next_revocation_number,u64,
288msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32
289msgdata,channel_reestablish,my_current_per_commitment_point,point,
290tlvtype,channel_reestablish_tlvs,next_funding,0
291tlvdata,channel_reestablish_tlvs,next_funding,next_funding_txid,sha256,
292tlvtype,channel_reestablish_tlvs,next_funding,0
293tlvdata,channel_reestablish_tlvs,next_funding,next_funding_txid,sha256,
294tlvtype,channel_reestablish_tlvs,next_to_send,1
295tlvdata,channel_reestablish_tlvs,next_to_send,commitment_number,tu64,
296tlvtype,channel_reestablish_tlvs,desired_channel_type,3
297tlvdata,channel_reestablish_tlvs,desired_channel_type,type,byte,...
298tlvtype,channel_reestablish_tlvs,current_channel_type,5
299tlvdata,channel_reestablish_tlvs,current_channel_type,type,byte,...
300tlvtype,channel_reestablish_tlvs,upgradable_channel_type,7
301tlvdata,channel_reestablish_tlvs,upgradable_channel_type,type,byte,...
302msgtype,peer_storage,7
303msgdata,peer_storage,len,u16,
304msgdata,peer_storage,blob,byte,len
305msgtype,your_peer_storage,9
306msgdata,your_peer_storage,len,u16,
307msgdata,your_peer_storage,blob,byte,len
308msgtype,announcement_signatures,259
309msgdata,announcement_signatures,channel_id,channel_id,
310msgdata,announcement_signatures,short_channel_id,short_channel_id,
311msgdata,announcement_signatures,node_signature,signature,
312msgdata,announcement_signatures,bitcoin_signature,signature,
313msgtype,channel_announcement,256
314msgdata,channel_announcement,node_signature_1,signature,
315msgdata,channel_announcement,node_signature_2,signature,
316msgdata,channel_announcement,bitcoin_signature_1,signature,
317msgdata,channel_announcement,bitcoin_signature_2,signature,
318msgdata,channel_announcement,len,u16,
319msgdata,channel_announcement,features,byte,len
320msgdata,channel_announcement,chain_hash,chain_hash,
321msgdata,channel_announcement,short_channel_id,short_channel_id,
322msgdata,channel_announcement,node_id_1,point,
323msgdata,channel_announcement,node_id_2,point,
324msgdata,channel_announcement,bitcoin_key_1,point,
325msgdata,channel_announcement,bitcoin_key_2,point,
326msgtype,node_announcement,257
327msgdata,node_announcement,signature,signature,
328msgdata,node_announcement,flen,u16,
329msgdata,node_announcement,features,byte,flen
330msgdata,node_announcement,timestamp,u32,
331msgdata,node_announcement,node_id,point,
332msgdata,node_announcement,rgb_color,byte,3
333msgdata,node_announcement,alias,byte,32
334msgdata,node_announcement,addrlen,u16,
335msgdata,node_announcement,addresses,byte,addrlen
336msgdata,node_announcement,tlvs,node_ann_tlvs,
337tlvtype,node_ann_tlvs,option_will_fund,1
338tlvdata,node_ann_tlvs,option_will_fund,lease_rates,lease_rates,
339msgtype,channel_update,258
340msgdata,channel_update,signature,signature,
341msgdata,channel_update,chain_hash,chain_hash,
342msgdata,channel_update,short_channel_id,short_channel_id,
343msgdata,channel_update,timestamp,u32,
344msgdata,channel_update,message_flags,byte,
345msgdata,channel_update,channel_flags,byte,
346msgdata,channel_update,cltv_expiry_delta,u16,
347msgdata,channel_update,htlc_minimum_msat,u64,
348msgdata,channel_update,fee_base_msat,u32,
349msgdata,channel_update,fee_proportional_millionths,u32,
350msgdata,channel_update,htlc_maximum_msat,u64,
351msgtype,query_short_channel_ids,261
352msgdata,query_short_channel_ids,chain_hash,chain_hash,
353msgdata,query_short_channel_ids,len,u16,
354msgdata,query_short_channel_ids,encoded_short_ids,byte,len
355msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs,
356tlvtype,query_short_channel_ids_tlvs,query_flags,1
357tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte,
358tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,...
359msgtype,reply_short_channel_ids_end,262
360msgdata,reply_short_channel_ids_end,chain_hash,chain_hash,
361msgdata,reply_short_channel_ids_end,full_information,byte,
362msgtype,query_channel_range,263
363msgdata,query_channel_range,chain_hash,chain_hash,
364msgdata,query_channel_range,first_blocknum,u32,
365msgdata,query_channel_range,number_of_blocks,u32,
366msgdata,query_channel_range,tlvs,query_channel_range_tlvs,
367tlvtype,query_channel_range_tlvs,query_option,1
368tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize,
369msgtype,reply_channel_range,264
370msgdata,reply_channel_range,chain_hash,chain_hash,
371msgdata,reply_channel_range,first_blocknum,u32,
372msgdata,reply_channel_range,number_of_blocks,u32,
373msgdata,reply_channel_range,sync_complete,byte,
374msgdata,reply_channel_range,len,u16,
375msgdata,reply_channel_range,encoded_short_ids,byte,len
376msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs,
377tlvtype,reply_channel_range_tlvs,timestamps_tlv,1
378tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte,
379tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,...
380tlvtype,reply_channel_range_tlvs,checksums_tlv,3
381tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,...
382subtype,channel_update_timestamps
383subtypedata,channel_update_timestamps,timestamp_node_id_1,u32,
384subtypedata,channel_update_timestamps,timestamp_node_id_2,u32,
385subtype,channel_update_checksums
386subtypedata,channel_update_checksums,checksum_node_id_1,u32,
387subtypedata,channel_update_checksums,checksum_node_id_2,u32,
388msgtype,gossip_timestamp_filter,265
389msgdata,gossip_timestamp_filter,chain_hash,chain_hash,
390msgdata,gossip_timestamp_filter,first_timestamp,u32,
391msgdata,gossip_timestamp_filter,timestamp_range,u32,
392msgtype,onion_message,513,option_onion_messages
393msgdata,onion_message,path_key,point,
394msgdata,onion_message,len,u16,
395msgdata,onion_message,onionmsg,byte,len