rgb-cln/wire/peer_wire.csv

15 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,
47msgtype,tx_add_output,67
48msgdata,tx_add_output,channel_id,channel_id,
49msgdata,tx_add_output,serial_id,u64,
50msgdata,tx_add_output,sats,u64,
51msgdata,tx_add_output,scriptlen,u16,
52msgdata,tx_add_output,script,byte,scriptlen
53msgtype,tx_remove_input,68
54msgdata,tx_remove_input,channel_id,channel_id,
55msgdata,tx_remove_input,serial_id,u64,
56msgtype,tx_remove_output,69
57msgdata,tx_remove_output,channel_id,channel_id,
58msgdata,tx_remove_output,serial_id,u64,
59msgtype,tx_complete,70
60msgdata,tx_complete,channel_id,channel_id,
61msgtype,tx_signatures,71
62msgdata,tx_signatures,channel_id,channel_id,
63msgdata,tx_signatures,txid,sha256,
64msgdata,tx_signatures,num_witnesses,u16,
65msgdata,tx_signatures,witness_stack,witness_stack,num_witnesses
66subtype,witness_stack
67subtypedata,witness_stack,num_input_witness,u16,
68subtypedata,witness_stack,witness_element,witness_element,num_input_witness
69subtype,witness_element
70subtypedata,witness_element,len,u16,
71subtypedata,witness_element,witness,byte,len
72msgtype,tx_init_rbf,72
73msgdata,tx_init_rbf,channel_id,channel_id,
74msgdata,tx_init_rbf,locktime,u32,
75msgdata,tx_init_rbf,feerate,u32,
76msgdata,tx_init_rbf,tlvs,tx_init_rbf_tlvs,
77tlvtype,tx_init_rbf_tlvs,funding_output_contribution,0
78tlvdata,tx_init_rbf_tlvs,funding_output_contribution,satoshis,tu64,
79msgtype,tx_ack_rbf,73
80msgdata,tx_ack_rbf,channel_id,channel_id,
81msgdata,tx_ack_rbf,tlvs,tx_ack_rbf_tlvs,
82tlvtype,tx_ack_rbf_tlvs,funding_output_contribution,0
83tlvdata,tx_ack_rbf_tlvs,funding_output_contribution,satoshis,tu64,
84msgtype,tx_abort,74
85msgdata,tx_abort,channel_id,channel_id,
86msgdata,tx_abort,len,u16,
87msgdata,tx_abort,data,byte,len
88msgtype,open_channel,32
89msgdata,open_channel,chain_hash,chain_hash,
90msgdata,open_channel,temporary_channel_id,byte,32
91msgdata,open_channel,funding_satoshis,u64,
92msgdata,open_channel,push_msat,u64,
93msgdata,open_channel,dust_limit_satoshis,u64,
94msgdata,open_channel,max_htlc_value_in_flight_msat,u64,
95msgdata,open_channel,channel_reserve_satoshis,u64,
96msgdata,open_channel,htlc_minimum_msat,u64,
97msgdata,open_channel,feerate_per_kw,u32,
98msgdata,open_channel,to_self_delay,u16,
99msgdata,open_channel,max_accepted_htlcs,u16,
100msgdata,open_channel,funding_pubkey,point,
101msgdata,open_channel,revocation_basepoint,point,
102msgdata,open_channel,payment_basepoint,point,
103msgdata,open_channel,delayed_payment_basepoint,point,
104msgdata,open_channel,htlc_basepoint,point,
105msgdata,open_channel,first_per_commitment_point,point,
106msgdata,open_channel,channel_flags,byte,
107msgdata,open_channel,tlvs,open_channel_tlvs,
108tlvtype,open_channel_tlvs,upfront_shutdown_script,0
109tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
110tlvtype,open_channel_tlvs,channel_type,1
111tlvdata,open_channel_tlvs,channel_type,type,byte,...
112msgtype,accept_channel,33
113msgdata,accept_channel,temporary_channel_id,byte,32
114msgdata,accept_channel,dust_limit_satoshis,u64,
115msgdata,accept_channel,max_htlc_value_in_flight_msat,u64,
116msgdata,accept_channel,channel_reserve_satoshis,u64,
117msgdata,accept_channel,htlc_minimum_msat,u64,
118msgdata,accept_channel,minimum_depth,u32,
119msgdata,accept_channel,to_self_delay,u16,
120msgdata,accept_channel,max_accepted_htlcs,u16,
121msgdata,accept_channel,funding_pubkey,point,
122msgdata,accept_channel,revocation_basepoint,point,
123msgdata,accept_channel,payment_basepoint,point,
124msgdata,accept_channel,delayed_payment_basepoint,point,
125msgdata,accept_channel,htlc_basepoint,point,
126msgdata,accept_channel,first_per_commitment_point,point,
127msgdata,accept_channel,tlvs,accept_channel_tlvs,
128tlvtype,accept_channel_tlvs,upfront_shutdown_script,0
129tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
130tlvtype,accept_channel_tlvs,channel_type,1
131tlvdata,accept_channel_tlvs,channel_type,type,byte,...
132msgtype,funding_created,34
133msgdata,funding_created,temporary_channel_id,byte,32
134msgdata,funding_created,funding_txid,sha256,
135msgdata,funding_created,funding_output_index,u16,
136msgdata,funding_created,signature,signature,
137msgtype,funding_signed,35
138msgdata,funding_signed,channel_id,channel_id,
139msgdata,funding_signed,signature,signature,
140msgtype,channel_ready,36
141msgdata,channel_ready,channel_id,channel_id,
142msgdata,channel_ready,second_per_commitment_point,point,
143msgdata,channel_ready,tlvs,channel_ready_tlvs,
144tlvtype,channel_ready_tlvs,short_channel_id,1
145tlvdata,channel_ready_tlvs,short_channel_id,alias,short_channel_id,
146msgtype,open_channel2,64
147msgdata,open_channel2,chain_hash,chain_hash,
148msgdata,open_channel2,zerod_channel_id,channel_id,
149msgdata,open_channel2,funding_feerate_perkw,u32,
150msgdata,open_channel2,commitment_feerate_perkw,u32,
151msgdata,open_channel2,funding_satoshis,u64,
152msgdata,open_channel2,dust_limit_satoshis,u64,
153msgdata,open_channel2,max_htlc_value_in_flight_msat,u64,
154msgdata,open_channel2,htlc_minimum_msat,u64,
155msgdata,open_channel2,to_self_delay,u16,
156msgdata,open_channel2,max_accepted_htlcs,u16,
157msgdata,open_channel2,locktime,u32,
158msgdata,open_channel2,funding_pubkey,point,
159msgdata,open_channel2,revocation_basepoint,point,
160msgdata,open_channel2,payment_basepoint,point,
161msgdata,open_channel2,delayed_payment_basepoint,point,
162msgdata,open_channel2,htlc_basepoint,point,
163msgdata,open_channel2,first_per_commitment_point,point,
164msgdata,open_channel2,channel_flags,byte,
165msgdata,open_channel2,tlvs,opening_tlvs,
166tlvtype,opening_tlvs,upfront_shutdown_script,0
167tlvdata,opening_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
168tlvtype,opening_tlvs,channel_type,1
169tlvdata,opening_tlvs,channel_type,type,byte,...
170tlvtype,opening_tlvs,request_funds,3
171tlvdata,opening_tlvs,request_funds,requested_sats,u64,
172tlvdata,opening_tlvs,request_funds,blockheight,u32,
173msgtype,accept_channel2,65
174msgdata,accept_channel2,zerod_channel_id,channel_id,
175msgdata,accept_channel2,funding_satoshis,u64,
176msgdata,accept_channel2,dust_limit_satoshis,u64,
177msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64,
178msgdata,accept_channel2,htlc_minimum_msat,u64,
179msgdata,accept_channel2,minimum_depth,u32,
180msgdata,accept_channel2,to_self_delay,u16,
181msgdata,accept_channel2,max_accepted_htlcs,u16,
182msgdata,accept_channel2,funding_pubkey,point,
183msgdata,accept_channel2,revocation_basepoint,point,
184msgdata,accept_channel2,payment_basepoint,point,
185msgdata,accept_channel2,delayed_payment_basepoint,point,
186msgdata,accept_channel2,htlc_basepoint,point,
187msgdata,accept_channel2,first_per_commitment_point,point,
188msgdata,accept_channel2,tlvs,accept_tlvs,
189tlvtype,accept_tlvs,upfront_shutdown_script,0
190tlvdata,accept_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
191tlvtype,accept_tlvs,channel_type,1
192tlvdata,accept_tlvs,channel_type,type,byte,...
193tlvtype,accept_tlvs,will_fund,2
194tlvdata,accept_tlvs,will_fund,signature,signature,
195tlvdata,accept_tlvs,will_fund,lease_rates,lease_rates,
196subtype,lease_rates
197subtypedata,lease_rates,funding_weight,u16,
198subtypedata,lease_rates,lease_fee_basis,u16,
199subtypedata,lease_rates,channel_fee_max_proportional_thousandths,u16,
200subtypedata,lease_rates,lease_fee_base_sat,u32,
201subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
202msgtype,shutdown,38
203msgdata,shutdown,channel_id,channel_id,
204msgdata,shutdown,len,u16,
205msgdata,shutdown,scriptpubkey,byte,len
206msgdata,shutdown,tlvs,shutdown_tlvs,
207tlvtype,shutdown_tlvs,wrong_funding,100
208tlvdata,shutdown_tlvs,wrong_funding,txid,sha256,
209tlvdata,shutdown_tlvs,wrong_funding,outnum,u32,
210msgtype,closing_signed,39
211msgdata,closing_signed,channel_id,channel_id,
212msgdata,closing_signed,fee_satoshis,u64,
213msgdata,closing_signed,signature,signature,
214msgdata,closing_signed,tlvs,closing_signed_tlvs,
215tlvtype,closing_signed_tlvs,fee_range,1
216tlvdata,closing_signed_tlvs,fee_range,min_fee_satoshis,u64,
217tlvdata,closing_signed_tlvs,fee_range,max_fee_satoshis,u64,
218msgtype,update_add_htlc,128
219msgdata,update_add_htlc,channel_id,channel_id,
220msgdata,update_add_htlc,id,u64,
221msgdata,update_add_htlc,amount_msat,u64,
222msgdata,update_add_htlc,payment_hash,sha256,
223msgdata,update_add_htlc,cltv_expiry,u32,
224msgdata,update_add_htlc,onion_routing_packet,byte,1366
225msgdata,update_add_htlc,tlvs,update_add_tlvs,
226tlvtype,update_add_tlvs,blinding,2
227tlvdata,update_add_tlvs,blinding,blinding,point,
228msgtype,update_fulfill_htlc,130
229msgdata,update_fulfill_htlc,channel_id,channel_id,
230msgdata,update_fulfill_htlc,id,u64,
231msgdata,update_fulfill_htlc,payment_preimage,byte,32
232msgtype,update_fail_htlc,131
233msgdata,update_fail_htlc,channel_id,channel_id,
234msgdata,update_fail_htlc,id,u64,
235msgdata,update_fail_htlc,len,u16,
236msgdata,update_fail_htlc,reason,byte,len
237msgtype,update_fail_malformed_htlc,135
238msgdata,update_fail_malformed_htlc,channel_id,channel_id,
239msgdata,update_fail_malformed_htlc,id,u64,
240msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
241msgdata,update_fail_malformed_htlc,failure_code,u16,
242msgtype,commitment_signed,132
243msgdata,commitment_signed,channel_id,channel_id,
244msgdata,commitment_signed,signature,signature,
245msgdata,commitment_signed,num_htlcs,u16,
246msgdata,commitment_signed,htlc_signature,signature,num_htlcs
247msgtype,revoke_and_ack,133
248msgdata,revoke_and_ack,channel_id,channel_id,
249msgdata,revoke_and_ack,per_commitment_secret,byte,32
250msgdata,revoke_and_ack,next_per_commitment_point,point,
251msgtype,update_fee,134
252msgdata,update_fee,channel_id,channel_id,
253msgdata,update_fee,feerate_per_kw,u32,
254msgtype,update_blockheight,137
255msgdata,update_blockheight,channel_id,channel_id,
256msgdata,update_blockheight,blockheight,u32,
257msgtype,channel_reestablish,136
258msgdata,channel_reestablish,channel_id,channel_id,
259msgdata,channel_reestablish,next_commitment_number,u64,
260msgdata,channel_reestablish,next_revocation_number,u64,
261msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32
262msgdata,channel_reestablish,my_current_per_commitment_point,point,
263msgtype,announcement_signatures,259
264msgdata,announcement_signatures,channel_id,channel_id,
265msgdata,announcement_signatures,short_channel_id,short_channel_id,
266msgdata,announcement_signatures,node_signature,signature,
267msgdata,announcement_signatures,bitcoin_signature,signature,
268msgtype,channel_announcement,256
269msgdata,channel_announcement,node_signature_1,signature,
270msgdata,channel_announcement,node_signature_2,signature,
271msgdata,channel_announcement,bitcoin_signature_1,signature,
272msgdata,channel_announcement,bitcoin_signature_2,signature,
273msgdata,channel_announcement,len,u16,
274msgdata,channel_announcement,features,byte,len
275msgdata,channel_announcement,chain_hash,chain_hash,
276msgdata,channel_announcement,short_channel_id,short_channel_id,
277msgdata,channel_announcement,node_id_1,point,
278msgdata,channel_announcement,node_id_2,point,
279msgdata,channel_announcement,bitcoin_key_1,point,
280msgdata,channel_announcement,bitcoin_key_2,point,
281msgtype,node_announcement,257
282msgdata,node_announcement,signature,signature,
283msgdata,node_announcement,flen,u16,
284msgdata,node_announcement,features,byte,flen
285msgdata,node_announcement,timestamp,u32,
286msgdata,node_announcement,node_id,point,
287msgdata,node_announcement,rgb_color,byte,3
288msgdata,node_announcement,alias,byte,32
289msgdata,node_announcement,addrlen,u16,
290msgdata,node_announcement,addresses,byte,addrlen
291msgdata,node_announcement,tlvs,node_ann_tlvs,
292tlvtype,node_ann_tlvs,option_will_fund,1
293tlvdata,node_ann_tlvs,option_will_fund,lease_rates,lease_rates,
294msgtype,channel_update,258
295msgdata,channel_update,signature,signature,
296msgdata,channel_update,chain_hash,chain_hash,
297msgdata,channel_update,short_channel_id,short_channel_id,
298msgdata,channel_update,timestamp,u32,
299msgdata,channel_update,message_flags,byte,
300msgdata,channel_update,channel_flags,byte,
301msgdata,channel_update,cltv_expiry_delta,u16,
302msgdata,channel_update,htlc_minimum_msat,u64,
303msgdata,channel_update,fee_base_msat,u32,
304msgdata,channel_update,fee_proportional_millionths,u32,
305msgdata,channel_update,htlc_maximum_msat,u64,
306msgtype,query_short_channel_ids,261,gossip_queries
307msgdata,query_short_channel_ids,chain_hash,chain_hash,
308msgdata,query_short_channel_ids,len,u16,
309msgdata,query_short_channel_ids,encoded_short_ids,byte,len
310msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs,
311tlvtype,query_short_channel_ids_tlvs,query_flags,1
312tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte,
313tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,...
314msgtype,reply_short_channel_ids_end,262,gossip_queries
315msgdata,reply_short_channel_ids_end,chain_hash,chain_hash,
316msgdata,reply_short_channel_ids_end,full_information,byte,
317msgtype,query_channel_range,263,gossip_queries
318msgdata,query_channel_range,chain_hash,chain_hash,
319msgdata,query_channel_range,first_blocknum,u32,
320msgdata,query_channel_range,number_of_blocks,u32,
321msgdata,query_channel_range,tlvs,query_channel_range_tlvs,
322tlvtype,query_channel_range_tlvs,query_option,1
323tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize,
324msgtype,reply_channel_range,264,gossip_queries
325msgdata,reply_channel_range,chain_hash,chain_hash,
326msgdata,reply_channel_range,first_blocknum,u32,
327msgdata,reply_channel_range,number_of_blocks,u32,
328msgdata,reply_channel_range,sync_complete,byte,
329msgdata,reply_channel_range,len,u16,
330msgdata,reply_channel_range,encoded_short_ids,byte,len
331msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs,
332tlvtype,reply_channel_range_tlvs,timestamps_tlv,1
333tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte,
334tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,...
335tlvtype,reply_channel_range_tlvs,checksums_tlv,3
336tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,...
337subtype,channel_update_timestamps
338subtypedata,channel_update_timestamps,timestamp_node_id_1,u32,
339subtypedata,channel_update_timestamps,timestamp_node_id_2,u32,
340subtype,channel_update_checksums
341subtypedata,channel_update_checksums,checksum_node_id_1,u32,
342subtypedata,channel_update_checksums,checksum_node_id_2,u32,
343msgtype,gossip_timestamp_filter,265,gossip_queries
344msgdata,gossip_timestamp_filter,chain_hash,chain_hash,
345msgdata,gossip_timestamp_filter,first_timestamp,u32,
346msgdata,gossip_timestamp_filter,timestamp_range,u32,
347msgtype,onion_message,513,option_onion_messages
348msgdata,onion_message,blinding,point,
349msgdata,onion_message,len,u16,
350msgdata,onion_message,onionmsg,byte,len