rgb-cln/wire/peer_wire.csv

13 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
146msgtype,accept_channel2,65
147msgdata,accept_channel2,channel_id,channel_id,
148msgdata,accept_channel2,funding_satoshis,u64,
149msgdata,accept_channel2,dust_limit_satoshis,u64,
150msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64,
151msgdata,accept_channel2,htlc_minimum_msat,u64,
152msgdata,accept_channel2,minimum_depth,u32,
153msgdata,accept_channel2,to_self_delay,u16,
154msgdata,accept_channel2,max_accepted_htlcs,u16,
155msgdata,accept_channel2,funding_pubkey,point,
156msgdata,accept_channel2,revocation_basepoint,point,
157msgdata,accept_channel2,payment_basepoint,point,
158msgdata,accept_channel2,delayed_payment_basepoint,point,
159msgdata,accept_channel2,htlc_basepoint,point,
160msgdata,accept_channel2,first_per_commitment_point,point,
161msgdata,accept_channel2,tlvs,accept_tlvs,
162tlvtype,accept_tlvs,option_upfront_shutdown_script,1
163tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_len,u16,
164tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len
165msgtype,init_rbf,72
166msgdata,init_rbf,channel_id,channel_id,
167msgdata,init_rbf,funding_satoshis,u64,
168msgdata,init_rbf,locktime,u32,
169msgdata,init_rbf,fee_step,byte,
170msgtype,ack_rbf,73
171msgdata,ack_rbf,channel_id,channel_id,
172msgdata,ack_rbf,funding_satoshis,u64,
173msgtype,shutdown,38
174msgdata,shutdown,channel_id,channel_id,
175msgdata,shutdown,len,u16,
176msgdata,shutdown,scriptpubkey,byte,len
177msgdata,shutdown,tlvs,shutdown_tlvs,
178tlvtype,shutdown_tlvs,wrong_funding,100
179tlvdata,shutdown_tlvs,wrong_funding,txid,sha256,
180tlvdata,shutdown_tlvs,wrong_funding,outnum,u32,
181msgtype,closing_signed,39
182msgdata,closing_signed,channel_id,channel_id,
183msgdata,closing_signed,fee_satoshis,u64,
184msgdata,closing_signed,signature,signature,
185msgtype,update_add_htlc,128
186msgdata,update_add_htlc,channel_id,channel_id,
187msgdata,update_add_htlc,id,u64,
188msgdata,update_add_htlc,amount_msat,u64,
189msgdata,update_add_htlc,payment_hash,sha256,
190msgdata,update_add_htlc,cltv_expiry,u32,
191msgdata,update_add_htlc,onion_routing_packet,byte,1366
192msgtype,update_fulfill_htlc,130
193msgdata,update_fulfill_htlc,channel_id,channel_id,
194msgdata,update_fulfill_htlc,id,u64,
195msgdata,update_fulfill_htlc,payment_preimage,byte,32
196msgtype,update_fail_htlc,131
197msgdata,update_fail_htlc,channel_id,channel_id,
198msgdata,update_fail_htlc,id,u64,
199msgdata,update_fail_htlc,len,u16,
200msgdata,update_fail_htlc,reason,byte,len
201msgtype,update_fail_malformed_htlc,135
202msgdata,update_fail_malformed_htlc,channel_id,channel_id,
203msgdata,update_fail_malformed_htlc,id,u64,
204msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
205msgdata,update_fail_malformed_htlc,failure_code,u16,
206msgtype,commitment_signed,132
207msgdata,commitment_signed,channel_id,channel_id,
208msgdata,commitment_signed,signature,signature,
209msgdata,commitment_signed,num_htlcs,u16,
210msgdata,commitment_signed,htlc_signature,signature,num_htlcs
211msgtype,revoke_and_ack,133
212msgdata,revoke_and_ack,channel_id,channel_id,
213msgdata,revoke_and_ack,per_commitment_secret,byte,32
214msgdata,revoke_and_ack,next_per_commitment_point,point,
215msgtype,update_fee,134
216msgdata,update_fee,channel_id,channel_id,
217msgdata,update_fee,feerate_per_kw,u32,
218msgtype,channel_reestablish,136
219msgdata,channel_reestablish,channel_id,channel_id,
220msgdata,channel_reestablish,next_commitment_number,u64,
221msgdata,channel_reestablish,next_revocation_number,u64,
222msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32
223msgdata,channel_reestablish,my_current_per_commitment_point,point,
224msgtype,announcement_signatures,259
225msgdata,announcement_signatures,channel_id,channel_id,
226msgdata,announcement_signatures,short_channel_id,short_channel_id,
227msgdata,announcement_signatures,node_signature,signature,
228msgdata,announcement_signatures,bitcoin_signature,signature,
229msgtype,channel_announcement,256
230msgdata,channel_announcement,node_signature_1,signature,
231msgdata,channel_announcement,node_signature_2,signature,
232msgdata,channel_announcement,bitcoin_signature_1,signature,
233msgdata,channel_announcement,bitcoin_signature_2,signature,
234msgdata,channel_announcement,len,u16,
235msgdata,channel_announcement,features,byte,len
236msgdata,channel_announcement,chain_hash,chain_hash,
237msgdata,channel_announcement,short_channel_id,short_channel_id,
238msgdata,channel_announcement,node_id_1,point,
239msgdata,channel_announcement,node_id_2,point,
240msgdata,channel_announcement,bitcoin_key_1,point,
241msgdata,channel_announcement,bitcoin_key_2,point,
242msgtype,node_announcement,257
243msgdata,node_announcement,signature,signature,
244msgdata,node_announcement,flen,u16,
245msgdata,node_announcement,features,byte,flen
246msgdata,node_announcement,timestamp,u32,
247msgdata,node_announcement,node_id,point,
248msgdata,node_announcement,rgb_color,byte,3
249msgdata,node_announcement,alias,byte,32
250msgdata,node_announcement,addrlen,u16,
251msgdata,node_announcement,addresses,byte,addrlen
252msgtype,channel_update,258
253msgdata,channel_update,signature,signature,
254msgdata,channel_update,chain_hash,chain_hash,
255msgdata,channel_update,short_channel_id,short_channel_id,
256msgdata,channel_update,timestamp,u32,
257msgdata,channel_update,message_flags,byte,
258msgdata,channel_update,channel_flags,byte,
259msgdata,channel_update,cltv_expiry_delta,u16,
260msgdata,channel_update,htlc_minimum_msat,u64,
261msgdata,channel_update,fee_base_msat,u32,
262msgdata,channel_update,fee_proportional_millionths,u32,
263msgdata,channel_update,htlc_maximum_msat,u64,,option_channel_htlc_max
264msgtype,query_short_channel_ids,261,gossip_queries
265msgdata,query_short_channel_ids,chain_hash,chain_hash,
266msgdata,query_short_channel_ids,len,u16,
267msgdata,query_short_channel_ids,encoded_short_ids,byte,len
268msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs,
269tlvtype,query_short_channel_ids_tlvs,query_flags,1
270tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte,
271tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,...
272msgtype,reply_short_channel_ids_end,262,gossip_queries
273msgdata,reply_short_channel_ids_end,chain_hash,chain_hash,
274msgdata,reply_short_channel_ids_end,full_information,byte,
275msgtype,query_channel_range,263,gossip_queries
276msgdata,query_channel_range,chain_hash,chain_hash,
277msgdata,query_channel_range,first_blocknum,u32,
278msgdata,query_channel_range,number_of_blocks,u32,
279msgdata,query_channel_range,tlvs,query_channel_range_tlvs,
280tlvtype,query_channel_range_tlvs,query_option,1
281tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize,
282msgtype,reply_channel_range,264,gossip_queries
283msgdata,reply_channel_range,chain_hash,chain_hash,
284msgdata,reply_channel_range,first_blocknum,u32,
285msgdata,reply_channel_range,number_of_blocks,u32,
286msgdata,reply_channel_range,sync_complete,byte,
287msgdata,reply_channel_range,len,u16,
288msgdata,reply_channel_range,encoded_short_ids,byte,len
289msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs,
290tlvtype,reply_channel_range_tlvs,timestamps_tlv,1
291tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte,
292tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,...
293tlvtype,reply_channel_range_tlvs,checksums_tlv,3
294tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,...
295subtype,channel_update_timestamps
296subtypedata,channel_update_timestamps,timestamp_node_id_1,u32,
297subtypedata,channel_update_timestamps,timestamp_node_id_2,u32,
298subtype,channel_update_checksums
299subtypedata,channel_update_checksums,checksum_node_id_1,u32,
300subtypedata,channel_update_checksums,checksum_node_id_2,u32,
301msgtype,gossip_timestamp_filter,265,gossip_queries
302msgdata,gossip_timestamp_filter,chain_hash,chain_hash,
303msgdata,gossip_timestamp_filter,first_timestamp,u32,
304msgdata,gossip_timestamp_filter,timestamp_range,u32,
305msgtype,onion_message,385,option_onion_messages
306msgdata,onion_message,len,u16,
307msgdata,onion_message,onionmsg,byte,len
308msgdata,onion_message,onion_message_tlvs,onion_message_tlvs,
309tlvtype,onion_message_tlvs,blinding,2
310tlvdata,onion_message_tlvs,blinding,blinding,point,