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,...
9msgtype,error,17
10msgdata,error,channel_id,channel_id,
11msgdata,error,len,u16,
12msgdata,error,data,byte,len
13msgtype,warning,1
14msgdata,warning,channel_id,channel_id,
15msgdata,warning,len,u16,
16msgdata,warning,data,byte,len
17msgtype,ping,18
18msgdata,ping,num_pong_bytes,u16,
19msgdata,ping,byteslen,u16,
20msgdata,ping,ignored,byte,byteslen
21msgtype,pong,19
22msgdata,pong,byteslen,u16,
23msgdata,pong,ignored,byte,byteslen
24tlvtype,n1,tlv1,1
25tlvdata,n1,tlv1,amount_msat,tu64,
26tlvtype,n1,tlv2,2
27tlvdata,n1,tlv2,scid,short_channel_id,
28tlvtype,n1,tlv3,3
29tlvdata,n1,tlv3,node_id,point,
30tlvdata,n1,tlv3,amount_msat_1,u64,
31tlvdata,n1,tlv3,amount_msat_2,u64,
32tlvtype,n1,tlv4,254
33tlvdata,n1,tlv4,cltv_delta,u16,
34tlvtype,n2,tlv1,0
35tlvdata,n2,tlv1,amount_msat,tu64,
36tlvtype,n2,tlv2,11
37tlvdata,n2,tlv2,cltv_expiry,tu32,
38msgtype,tx_add_input,66
39msgdata,tx_add_input,channel_id,channel_id,
40msgdata,tx_add_input,serial_id,u64,
41msgdata,tx_add_input,prevtx_len,u16,
42msgdata,tx_add_input,prevtx,byte,prevtx_len
43msgdata,tx_add_input,prevtx_vout,u32,
44msgdata,tx_add_input,sequence,u32,
45msgdata,tx_add_input,script_sig_len,u16,
46msgdata,tx_add_input,script_sig,byte,script_sig_len
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,open_channel,32
73msgdata,open_channel,chain_hash,chain_hash,
74msgdata,open_channel,temporary_channel_id,byte,32
75msgdata,open_channel,funding_satoshis,u64,
76msgdata,open_channel,push_msat,u64,
77msgdata,open_channel,dust_limit_satoshis,u64,
78msgdata,open_channel,max_htlc_value_in_flight_msat,u64,
79msgdata,open_channel,channel_reserve_satoshis,u64,
80msgdata,open_channel,htlc_minimum_msat,u64,
81msgdata,open_channel,feerate_per_kw,u32,
82msgdata,open_channel,to_self_delay,u16,
83msgdata,open_channel,max_accepted_htlcs,u16,
84msgdata,open_channel,funding_pubkey,point,
85msgdata,open_channel,revocation_basepoint,point,
86msgdata,open_channel,payment_basepoint,point,
87msgdata,open_channel,delayed_payment_basepoint,point,
88msgdata,open_channel,htlc_basepoint,point,
89msgdata,open_channel,first_per_commitment_point,point,
90msgdata,open_channel,channel_flags,byte,
91msgdata,open_channel,tlvs,open_channel_tlvs,
92tlvtype,open_channel_tlvs,upfront_shutdown_script,0
93tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
94tlvtype,open_channel_tlvs,channel_type,1
95tlvdata,open_channel_tlvs,channel_type,type,byte,...
96msgtype,accept_channel,33
97msgdata,accept_channel,temporary_channel_id,byte,32
98msgdata,accept_channel,dust_limit_satoshis,u64,
99msgdata,accept_channel,max_htlc_value_in_flight_msat,u64,
100msgdata,accept_channel,channel_reserve_satoshis,u64,
101msgdata,accept_channel,htlc_minimum_msat,u64,
102msgdata,accept_channel,minimum_depth,u32,
103msgdata,accept_channel,to_self_delay,u16,
104msgdata,accept_channel,max_accepted_htlcs,u16,
105msgdata,accept_channel,funding_pubkey,point,
106msgdata,accept_channel,revocation_basepoint,point,
107msgdata,accept_channel,payment_basepoint,point,
108msgdata,accept_channel,delayed_payment_basepoint,point,
109msgdata,accept_channel,htlc_basepoint,point,
110msgdata,accept_channel,first_per_commitment_point,point,
111msgdata,accept_channel,tlvs,accept_channel_tlvs,
112tlvtype,accept_channel_tlvs,upfront_shutdown_script,0
113tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
114tlvtype,accept_channel_tlvs,channel_type,1
115tlvdata,accept_channel_tlvs,channel_type,type,byte,...
116msgtype,funding_created,34
117msgdata,funding_created,temporary_channel_id,byte,32
118msgdata,funding_created,funding_txid,sha256,
119msgdata,funding_created,funding_output_index,u16,
120msgdata,funding_created,signature,signature,
121msgtype,funding_signed,35
122msgdata,funding_signed,channel_id,channel_id,
123msgdata,funding_signed,signature,signature,
124msgtype,funding_locked,36
125msgdata,funding_locked,channel_id,channel_id,
126msgdata,funding_locked,next_per_commitment_point,point,
127msgtype,open_channel2,64
128msgdata,open_channel2,chain_hash,chain_hash,
129msgdata,open_channel2,channel_id,channel_id,
130msgdata,open_channel2,funding_feerate_perkw,u32,
131msgdata,open_channel2,commitment_feerate_perkw,u32,
132msgdata,open_channel2,funding_satoshis,u64,
133msgdata,open_channel2,dust_limit_satoshis,u64,
134msgdata,open_channel2,max_htlc_value_in_flight_msat,u64,
135msgdata,open_channel2,htlc_minimum_msat,u64,
136msgdata,open_channel2,to_self_delay,u16,
137msgdata,open_channel2,max_accepted_htlcs,u16,
138msgdata,open_channel2,locktime,u32,
139msgdata,open_channel2,funding_pubkey,point,
140msgdata,open_channel2,revocation_basepoint,point,
141msgdata,open_channel2,payment_basepoint,point,
142msgdata,open_channel2,delayed_payment_basepoint,point,
143msgdata,open_channel2,htlc_basepoint,point,
144msgdata,open_channel2,first_per_commitment_point,point,
145msgdata,open_channel2,channel_flags,byte,
146msgdata,open_channel2,tlvs,opening_tlvs,
147tlvtype,opening_tlvs,option_upfront_shutdown_script,1
148tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_len,u16,
149tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len
150tlvtype,opening_tlvs,request_funds,3
151tlvdata,opening_tlvs,request_funds,requested_sats,u64,
152tlvdata,opening_tlvs,request_funds,blockheight,u32,
153msgtype,accept_channel2,65
154msgdata,accept_channel2,channel_id,channel_id,
155msgdata,accept_channel2,funding_satoshis,u64,
156msgdata,accept_channel2,dust_limit_satoshis,u64,
157msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64,
158msgdata,accept_channel2,htlc_minimum_msat,u64,
159msgdata,accept_channel2,minimum_depth,u32,
160msgdata,accept_channel2,to_self_delay,u16,
161msgdata,accept_channel2,max_accepted_htlcs,u16,
162msgdata,accept_channel2,funding_pubkey,point,
163msgdata,accept_channel2,revocation_basepoint,point,
164msgdata,accept_channel2,payment_basepoint,point,
165msgdata,accept_channel2,delayed_payment_basepoint,point,
166msgdata,accept_channel2,htlc_basepoint,point,
167msgdata,accept_channel2,first_per_commitment_point,point,
168msgdata,accept_channel2,tlvs,accept_tlvs,
169tlvtype,accept_tlvs,option_upfront_shutdown_script,1
170tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_len,u16,
171tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len
172tlvtype,accept_tlvs,will_fund,2
173tlvdata,accept_tlvs,will_fund,signature,signature,
174tlvdata,accept_tlvs,will_fund,lease_rates,lease_rates,
175subtype,lease_rates
176subtypedata,lease_rates,funding_weight,u16,
177subtypedata,lease_rates,lease_fee_basis,u16,
178subtypedata,lease_rates,channel_fee_max_proportional_thousandths,u16,
179subtypedata,lease_rates,lease_fee_base_sat,u32,
180subtypedata,lease_rates,channel_fee_max_base_msat,tu32,
181msgtype,init_rbf,72
182msgdata,init_rbf,channel_id,channel_id,
183msgdata,init_rbf,funding_satoshis,u64,
184msgdata,init_rbf,locktime,u32,
185msgdata,init_rbf,funding_feerate_perkw,u32,
186msgtype,ack_rbf,73
187msgdata,ack_rbf,channel_id,channel_id,
188msgdata,ack_rbf,funding_satoshis,u64,
189msgtype,shutdown,38
190msgdata,shutdown,channel_id,channel_id,
191msgdata,shutdown,len,u16,
192msgdata,shutdown,scriptpubkey,byte,len
193msgdata,shutdown,tlvs,shutdown_tlvs,
194tlvtype,shutdown_tlvs,wrong_funding,100
195tlvdata,shutdown_tlvs,wrong_funding,txid,sha256,
196tlvdata,shutdown_tlvs,wrong_funding,outnum,u32,
197msgtype,closing_signed,39
198msgdata,closing_signed,channel_id,channel_id,
199msgdata,closing_signed,fee_satoshis,u64,
200msgdata,closing_signed,signature,signature,
201msgdata,closing_signed,tlvs,closing_signed_tlvs,
202tlvtype,closing_signed_tlvs,fee_range,1
203tlvdata,closing_signed_tlvs,fee_range,min_fee_satoshis,u64,
204tlvdata,closing_signed_tlvs,fee_range,max_fee_satoshis,u64,
205msgtype,update_add_htlc,128
206msgdata,update_add_htlc,channel_id,channel_id,
207msgdata,update_add_htlc,id,u64,
208msgdata,update_add_htlc,amount_msat,u64,
209msgdata,update_add_htlc,payment_hash,sha256,
210msgdata,update_add_htlc,cltv_expiry,u32,
211msgdata,update_add_htlc,onion_routing_packet,byte,1366
212msgtype,update_fulfill_htlc,130
213msgdata,update_fulfill_htlc,channel_id,channel_id,
214msgdata,update_fulfill_htlc,id,u64,
215msgdata,update_fulfill_htlc,payment_preimage,byte,32
216msgtype,update_fail_htlc,131
217msgdata,update_fail_htlc,channel_id,channel_id,
218msgdata,update_fail_htlc,id,u64,
219msgdata,update_fail_htlc,len,u16,
220msgdata,update_fail_htlc,reason,byte,len
221msgtype,update_fail_malformed_htlc,135
222msgdata,update_fail_malformed_htlc,channel_id,channel_id,
223msgdata,update_fail_malformed_htlc,id,u64,
224msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
225msgdata,update_fail_malformed_htlc,failure_code,u16,
226msgtype,commitment_signed,132
227msgdata,commitment_signed,channel_id,channel_id,
228msgdata,commitment_signed,signature,signature,
229msgdata,commitment_signed,num_htlcs,u16,
230msgdata,commitment_signed,htlc_signature,signature,num_htlcs
231msgtype,revoke_and_ack,133
232msgdata,revoke_and_ack,channel_id,channel_id,
233msgdata,revoke_and_ack,per_commitment_secret,byte,32
234msgdata,revoke_and_ack,next_per_commitment_point,point,
235msgtype,update_fee,134
236msgdata,update_fee,channel_id,channel_id,
237msgdata,update_fee,feerate_per_kw,u32,
238msgtype,update_blockheight,137
239msgdata,update_blockheight,channel_id,channel_id,
240msgdata,update_blockheight,blockheight,u32,
241msgtype,channel_reestablish,136
242msgdata,channel_reestablish,channel_id,channel_id,
243msgdata,channel_reestablish,next_commitment_number,u64,
244msgdata,channel_reestablish,next_revocation_number,u64,
245msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32
246msgdata,channel_reestablish,my_current_per_commitment_point,point,
247msgtype,announcement_signatures,259
248msgdata,announcement_signatures,channel_id,channel_id,
249msgdata,announcement_signatures,short_channel_id,short_channel_id,
250msgdata,announcement_signatures,node_signature,signature,
251msgdata,announcement_signatures,bitcoin_signature,signature,
252msgtype,channel_announcement,256
253msgdata,channel_announcement,node_signature_1,signature,
254msgdata,channel_announcement,node_signature_2,signature,
255msgdata,channel_announcement,bitcoin_signature_1,signature,
256msgdata,channel_announcement,bitcoin_signature_2,signature,
257msgdata,channel_announcement,len,u16,
258msgdata,channel_announcement,features,byte,len
259msgdata,channel_announcement,chain_hash,chain_hash,
260msgdata,channel_announcement,short_channel_id,short_channel_id,
261msgdata,channel_announcement,node_id_1,point,
262msgdata,channel_announcement,node_id_2,point,
263msgdata,channel_announcement,bitcoin_key_1,point,
264msgdata,channel_announcement,bitcoin_key_2,point,
265msgtype,node_announcement,257
266msgdata,node_announcement,signature,signature,
267msgdata,node_announcement,flen,u16,
268msgdata,node_announcement,features,byte,flen
269msgdata,node_announcement,timestamp,u32,
270msgdata,node_announcement,node_id,point,
271msgdata,node_announcement,rgb_color,byte,3
272msgdata,node_announcement,alias,byte,32
273msgdata,node_announcement,addrlen,u16,
274msgdata,node_announcement,addresses,byte,addrlen
275msgdata,node_announcement,tlvs,node_ann_tlvs,
276tlvtype,node_ann_tlvs,option_will_fund,1
277tlvdata,node_ann_tlvs,option_will_fund,lease_rates,lease_rates,
278msgtype,channel_update,258
279msgdata,channel_update,signature,signature,
280msgdata,channel_update,chain_hash,chain_hash,
281msgdata,channel_update,short_channel_id,short_channel_id,
282msgdata,channel_update,timestamp,u32,
283msgdata,channel_update,message_flags,byte,
284msgdata,channel_update,channel_flags,byte,
285msgdata,channel_update,cltv_expiry_delta,u16,
286msgdata,channel_update,htlc_minimum_msat,u64,
287msgdata,channel_update,fee_base_msat,u32,
288msgdata,channel_update,fee_proportional_millionths,u32,
289msgdata,channel_update,htlc_maximum_msat,u64,,option_channel_htlc_max
290msgtype,query_short_channel_ids,261,gossip_queries
291msgdata,query_short_channel_ids,chain_hash,chain_hash,
292msgdata,query_short_channel_ids,len,u16,
293msgdata,query_short_channel_ids,encoded_short_ids,byte,len
294msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs,
295tlvtype,query_short_channel_ids_tlvs,query_flags,1
296tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte,
297tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,...
298msgtype,reply_short_channel_ids_end,262,gossip_queries
299msgdata,reply_short_channel_ids_end,chain_hash,chain_hash,
300msgdata,reply_short_channel_ids_end,full_information,byte,
301msgtype,query_channel_range,263,gossip_queries
302msgdata,query_channel_range,chain_hash,chain_hash,
303msgdata,query_channel_range,first_blocknum,u32,
304msgdata,query_channel_range,number_of_blocks,u32,
305msgdata,query_channel_range,tlvs,query_channel_range_tlvs,
306tlvtype,query_channel_range_tlvs,query_option,1
307tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize,
308msgtype,reply_channel_range,264,gossip_queries
309msgdata,reply_channel_range,chain_hash,chain_hash,
310msgdata,reply_channel_range,first_blocknum,u32,
311msgdata,reply_channel_range,number_of_blocks,u32,
312msgdata,reply_channel_range,sync_complete,byte,
313msgdata,reply_channel_range,len,u16,
314msgdata,reply_channel_range,encoded_short_ids,byte,len
315msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs,
316tlvtype,reply_channel_range_tlvs,timestamps_tlv,1
317tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte,
318tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,...
319tlvtype,reply_channel_range_tlvs,checksums_tlv,3
320tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,...
321subtype,channel_update_timestamps
322subtypedata,channel_update_timestamps,timestamp_node_id_1,u32,
323subtypedata,channel_update_timestamps,timestamp_node_id_2,u32,
324subtype,channel_update_checksums
325subtypedata,channel_update_checksums,checksum_node_id_1,u32,
326subtypedata,channel_update_checksums,checksum_node_id_2,u32,
327msgtype,gossip_timestamp_filter,265,gossip_queries
328msgdata,gossip_timestamp_filter,chain_hash,chain_hash,
329msgdata,gossip_timestamp_filter,first_timestamp,u32,
330msgdata,gossip_timestamp_filter,timestamp_range,u32,
331msgtype,obs2_onion_message,387,option_onion_messages
332msgdata,obs2_onion_message,blinding,point,
333msgdata,obs2_onion_message,len,u16,
334msgdata,obs2_onion_message,onionmsg,byte,len
335msgtype,onion_message,513,option_onion_messages
336msgdata,onion_message,blinding,point,
337msgdata,onion_message,len,u16,
338msgdata,onion_message,onionmsg,byte,len