rgb-cln/wire/peer_wire.csv

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