rgb-cln/wire/peer_wire.csv

9.3 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,ping,18
14msgdata,ping,num_pong_bytes,u16,
15msgdata,ping,byteslen,u16,
16msgdata,ping,ignored,byte,byteslen
17msgtype,pong,19
18msgdata,pong,byteslen,u16,
19msgdata,pong,ignored,byte,byteslen
20tlvtype,n1,tlv1,1
21tlvdata,n1,tlv1,amount_msat,tu64,
22tlvtype,n1,tlv2,2
23tlvdata,n1,tlv2,scid,short_channel_id,
24tlvtype,n1,tlv3,3
25tlvdata,n1,tlv3,node_id,point,
26tlvdata,n1,tlv3,amount_msat_1,u64,
27tlvdata,n1,tlv3,amount_msat_2,u64,
28tlvtype,n1,tlv4,254
29tlvdata,n1,tlv4,cltv_delta,u16,
30tlvtype,n2,tlv1,0
31tlvdata,n2,tlv1,amount_msat,tu64,
32tlvtype,n2,tlv2,11
33tlvdata,n2,tlv2,cltv_expiry,tu32,
34msgtype,open_channel,32
35msgdata,open_channel,chain_hash,chain_hash,
36msgdata,open_channel,temporary_channel_id,byte,32
37msgdata,open_channel,funding_satoshis,u64,
38msgdata,open_channel,push_msat,u64,
39msgdata,open_channel,dust_limit_satoshis,u64,
40msgdata,open_channel,max_htlc_value_in_flight_msat,u64,
41msgdata,open_channel,channel_reserve_satoshis,u64,
42msgdata,open_channel,htlc_minimum_msat,u64,
43msgdata,open_channel,feerate_per_kw,u32,
44msgdata,open_channel,to_self_delay,u16,
45msgdata,open_channel,max_accepted_htlcs,u16,
46msgdata,open_channel,funding_pubkey,point,
47msgdata,open_channel,revocation_basepoint,point,
48msgdata,open_channel,payment_basepoint,point,
49msgdata,open_channel,delayed_payment_basepoint,point,
50msgdata,open_channel,htlc_basepoint,point,
51msgdata,open_channel,first_per_commitment_point,point,
52msgdata,open_channel,channel_flags,byte,
53msgdata,open_channel,tlvs,open_channel_tlvs,
54tlvtype,open_channel_tlvs,upfront_shutdown_script,0
55tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
56msgtype,accept_channel,33
57msgdata,accept_channel,temporary_channel_id,byte,32
58msgdata,accept_channel,dust_limit_satoshis,u64,
59msgdata,accept_channel,max_htlc_value_in_flight_msat,u64,
60msgdata,accept_channel,channel_reserve_satoshis,u64,
61msgdata,accept_channel,htlc_minimum_msat,u64,
62msgdata,accept_channel,minimum_depth,u32,
63msgdata,accept_channel,to_self_delay,u16,
64msgdata,accept_channel,max_accepted_htlcs,u16,
65msgdata,accept_channel,funding_pubkey,point,
66msgdata,accept_channel,revocation_basepoint,point,
67msgdata,accept_channel,payment_basepoint,point,
68msgdata,accept_channel,delayed_payment_basepoint,point,
69msgdata,accept_channel,htlc_basepoint,point,
70msgdata,accept_channel,first_per_commitment_point,point,
71msgdata,accept_channel,tlvs,accept_channel_tlvs,
72tlvtype,accept_channel_tlvs,upfront_shutdown_script,0
73tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,...
74msgtype,funding_created,34
75msgdata,funding_created,temporary_channel_id,byte,32
76msgdata,funding_created,funding_txid,sha256,
77msgdata,funding_created,funding_output_index,u16,
78msgdata,funding_created,signature,signature,
79msgtype,funding_signed,35
80msgdata,funding_signed,channel_id,channel_id,
81msgdata,funding_signed,signature,signature,
82msgtype,funding_locked,36
83msgdata,funding_locked,channel_id,channel_id,
84msgdata,funding_locked,next_per_commitment_point,point,
85msgtype,shutdown,38
86msgdata,shutdown,channel_id,channel_id,
87msgdata,shutdown,len,u16,
88msgdata,shutdown,scriptpubkey,byte,len
89msgtype,closing_signed,39
90msgdata,closing_signed,channel_id,channel_id,
91msgdata,closing_signed,fee_satoshis,u64,
92msgdata,closing_signed,signature,signature,
93msgtype,update_add_htlc,128
94msgdata,update_add_htlc,channel_id,channel_id,
95msgdata,update_add_htlc,id,u64,
96msgdata,update_add_htlc,amount_msat,u64,
97msgdata,update_add_htlc,payment_hash,sha256,
98msgdata,update_add_htlc,cltv_expiry,u32,
99msgdata,update_add_htlc,onion_routing_packet,byte,1366
100msgtype,update_fulfill_htlc,130
101msgdata,update_fulfill_htlc,channel_id,channel_id,
102msgdata,update_fulfill_htlc,id,u64,
103msgdata,update_fulfill_htlc,payment_preimage,byte,32
104msgtype,update_fail_htlc,131
105msgdata,update_fail_htlc,channel_id,channel_id,
106msgdata,update_fail_htlc,id,u64,
107msgdata,update_fail_htlc,len,u16,
108msgdata,update_fail_htlc,reason,byte,len
109msgtype,update_fail_malformed_htlc,135
110msgdata,update_fail_malformed_htlc,channel_id,channel_id,
111msgdata,update_fail_malformed_htlc,id,u64,
112msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256,
113msgdata,update_fail_malformed_htlc,failure_code,u16,
114msgtype,commitment_signed,132
115msgdata,commitment_signed,channel_id,channel_id,
116msgdata,commitment_signed,signature,signature,
117msgdata,commitment_signed,num_htlcs,u16,
118msgdata,commitment_signed,htlc_signature,signature,num_htlcs
119msgtype,revoke_and_ack,133
120msgdata,revoke_and_ack,channel_id,channel_id,
121msgdata,revoke_and_ack,per_commitment_secret,byte,32
122msgdata,revoke_and_ack,next_per_commitment_point,point,
123msgtype,update_fee,134
124msgdata,update_fee,channel_id,channel_id,
125msgdata,update_fee,feerate_per_kw,u32,
126msgtype,channel_reestablish,136
127msgdata,channel_reestablish,channel_id,channel_id,
128msgdata,channel_reestablish,next_commitment_number,u64,
129msgdata,channel_reestablish,next_revocation_number,u64,
130msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32
131msgdata,channel_reestablish,my_current_per_commitment_point,point,
132msgtype,announcement_signatures,259
133msgdata,announcement_signatures,channel_id,channel_id,
134msgdata,announcement_signatures,short_channel_id,short_channel_id,
135msgdata,announcement_signatures,node_signature,signature,
136msgdata,announcement_signatures,bitcoin_signature,signature,
137msgtype,channel_announcement,256
138msgdata,channel_announcement,node_signature_1,signature,
139msgdata,channel_announcement,node_signature_2,signature,
140msgdata,channel_announcement,bitcoin_signature_1,signature,
141msgdata,channel_announcement,bitcoin_signature_2,signature,
142msgdata,channel_announcement,len,u16,
143msgdata,channel_announcement,features,byte,len
144msgdata,channel_announcement,chain_hash,chain_hash,
145msgdata,channel_announcement,short_channel_id,short_channel_id,
146msgdata,channel_announcement,node_id_1,point,
147msgdata,channel_announcement,node_id_2,point,
148msgdata,channel_announcement,bitcoin_key_1,point,
149msgdata,channel_announcement,bitcoin_key_2,point,
150msgtype,node_announcement,257
151msgdata,node_announcement,signature,signature,
152msgdata,node_announcement,flen,u16,
153msgdata,node_announcement,features,byte,flen
154msgdata,node_announcement,timestamp,u32,
155msgdata,node_announcement,node_id,point,
156msgdata,node_announcement,rgb_color,byte,3
157msgdata,node_announcement,alias,byte,32
158msgdata,node_announcement,addrlen,u16,
159msgdata,node_announcement,addresses,byte,addrlen
160msgtype,channel_update,258
161msgdata,channel_update,signature,signature,
162msgdata,channel_update,chain_hash,chain_hash,
163msgdata,channel_update,short_channel_id,short_channel_id,
164msgdata,channel_update,timestamp,u32,
165msgdata,channel_update,message_flags,byte,
166msgdata,channel_update,channel_flags,byte,
167msgdata,channel_update,cltv_expiry_delta,u16,
168msgdata,channel_update,htlc_minimum_msat,u64,
169msgdata,channel_update,fee_base_msat,u32,
170msgdata,channel_update,fee_proportional_millionths,u32,
171msgdata,channel_update,htlc_maximum_msat,u64,,option_channel_htlc_max
172msgtype,query_short_channel_ids,261,gossip_queries
173msgdata,query_short_channel_ids,chain_hash,chain_hash,
174msgdata,query_short_channel_ids,len,u16,
175msgdata,query_short_channel_ids,encoded_short_ids,byte,len
176msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs,
177tlvtype,query_short_channel_ids_tlvs,query_flags,1
178tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte,
179tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,...
180msgtype,reply_short_channel_ids_end,262,gossip_queries
181msgdata,reply_short_channel_ids_end,chain_hash,chain_hash,
182msgdata,reply_short_channel_ids_end,full_information,byte,
183msgtype,query_channel_range,263,gossip_queries
184msgdata,query_channel_range,chain_hash,chain_hash,
185msgdata,query_channel_range,first_blocknum,u32,
186msgdata,query_channel_range,number_of_blocks,u32,
187msgdata,query_channel_range,tlvs,query_channel_range_tlvs,
188tlvtype,query_channel_range_tlvs,query_option,1
189tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize,
190msgtype,reply_channel_range,264,gossip_queries
191msgdata,reply_channel_range,chain_hash,chain_hash,
192msgdata,reply_channel_range,first_blocknum,u32,
193msgdata,reply_channel_range,number_of_blocks,u32,
194msgdata,reply_channel_range,full_information,byte,
195msgdata,reply_channel_range,len,u16,
196msgdata,reply_channel_range,encoded_short_ids,byte,len
197msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs,
198tlvtype,reply_channel_range_tlvs,timestamps_tlv,1
199tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte,
200tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,...
201tlvtype,reply_channel_range_tlvs,checksums_tlv,3
202tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,...
203subtype,channel_update_timestamps
204subtypedata,channel_update_timestamps,timestamp_node_id_1,u32,
205subtypedata,channel_update_timestamps,timestamp_node_id_2,u32,
206subtype,channel_update_checksums
207subtypedata,channel_update_checksums,checksum_node_id_1,u32,
208subtypedata,channel_update_checksums,checksum_node_id_2,u32,
209msgtype,gossip_timestamp_filter,265,gossip_queries
210msgdata,gossip_timestamp_filter,chain_hash,chain_hash,
211msgdata,gossip_timestamp_filter,first_timestamp,u32,
212msgdata,gossip_timestamp_filter,timestamp_range,u32,