mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
3e8f575f9e
You can now activate dual-funded channels using the `--experimental-dual-fund` flag Changelog-Changed: Config: `--experimental-dual-fund` runtime flag will enable dual-funded protocol on this node
13 KiB
13 KiB
1 | msgtype,init,16 |
---|---|
2 | msgdata,init,gflen,u16, |
3 | msgdata,init,globalfeatures,byte,gflen |
4 | msgdata,init,flen,u16, |
5 | msgdata,init,features,byte,flen |
6 | msgdata,init,tlvs,init_tlvs, |
7 | tlvtype,init_tlvs,networks,1 |
8 | tlvdata,init_tlvs,networks,chains,chain_hash,... |
9 | msgtype,error,17 |
10 | msgdata,error,channel_id,channel_id, |
11 | msgdata,error,len,u16, |
12 | msgdata,error,data,byte,len |
13 | msgtype,warning,1 |
14 | msgdata,warning,channel_id,channel_id, |
15 | msgdata,warning,len,u16, |
16 | msgdata,warning,data,byte,len |
17 | msgtype,ping,18 |
18 | msgdata,ping,num_pong_bytes,u16, |
19 | msgdata,ping,byteslen,u16, |
20 | msgdata,ping,ignored,byte,byteslen |
21 | msgtype,pong,19 |
22 | msgdata,pong,byteslen,u16, |
23 | msgdata,pong,ignored,byte,byteslen |
24 | tlvtype,n1,tlv1,1 |
25 | tlvdata,n1,tlv1,amount_msat,tu64, |
26 | tlvtype,n1,tlv2,2 |
27 | tlvdata,n1,tlv2,scid,short_channel_id, |
28 | tlvtype,n1,tlv3,3 |
29 | tlvdata,n1,tlv3,node_id,point, |
30 | tlvdata,n1,tlv3,amount_msat_1,u64, |
31 | tlvdata,n1,tlv3,amount_msat_2,u64, |
32 | tlvtype,n1,tlv4,254 |
33 | tlvdata,n1,tlv4,cltv_delta,u16, |
34 | tlvtype,n2,tlv1,0 |
35 | tlvdata,n2,tlv1,amount_msat,tu64, |
36 | tlvtype,n2,tlv2,11 |
37 | tlvdata,n2,tlv2,cltv_expiry,tu32, |
38 | msgtype,tx_add_input,66 |
39 | msgdata,tx_add_input,channel_id,channel_id, |
40 | msgdata,tx_add_input,serial_id,u64, |
41 | msgdata,tx_add_input,prevtx_len,u16, |
42 | msgdata,tx_add_input,prevtx,byte,prevtx_len |
43 | msgdata,tx_add_input,prevtx_vout,u32, |
44 | msgdata,tx_add_input,sequence,u32, |
45 | msgdata,tx_add_input,script_sig_len,u16, |
46 | msgdata,tx_add_input,script_sig,byte,script_sig_len |
47 | msgtype,tx_add_output,67 |
48 | msgdata,tx_add_output,channel_id,channel_id, |
49 | msgdata,tx_add_output,serial_id,u64, |
50 | msgdata,tx_add_output,sats,u64, |
51 | msgdata,tx_add_output,scriptlen,u16, |
52 | msgdata,tx_add_output,script,byte,scriptlen |
53 | msgtype,tx_remove_input,68 |
54 | msgdata,tx_remove_input,channel_id,channel_id, |
55 | msgdata,tx_remove_input,serial_id,u64, |
56 | msgtype,tx_remove_output,69 |
57 | msgdata,tx_remove_output,channel_id,channel_id, |
58 | msgdata,tx_remove_output,serial_id,u64, |
59 | msgtype,tx_complete,70 |
60 | msgdata,tx_complete,channel_id,channel_id, |
61 | msgtype,tx_signatures,71 |
62 | msgdata,tx_signatures,channel_id,channel_id, |
63 | msgdata,tx_signatures,txid,sha256, |
64 | msgdata,tx_signatures,num_witnesses,u16, |
65 | msgdata,tx_signatures,witness_stack,witness_stack,num_witnesses |
66 | subtype,witness_stack |
67 | subtypedata,witness_stack,num_input_witness,u16, |
68 | subtypedata,witness_stack,witness_element,witness_element,num_input_witness |
69 | subtype,witness_element |
70 | subtypedata,witness_element,len,u16, |
71 | subtypedata,witness_element,witness,byte,len |
72 | msgtype,open_channel,32 |
73 | msgdata,open_channel,chain_hash,chain_hash, |
74 | msgdata,open_channel,temporary_channel_id,byte,32 |
75 | msgdata,open_channel,funding_satoshis,u64, |
76 | msgdata,open_channel,push_msat,u64, |
77 | msgdata,open_channel,dust_limit_satoshis,u64, |
78 | msgdata,open_channel,max_htlc_value_in_flight_msat,u64, |
79 | msgdata,open_channel,channel_reserve_satoshis,u64, |
80 | msgdata,open_channel,htlc_minimum_msat,u64, |
81 | msgdata,open_channel,feerate_per_kw,u32, |
82 | msgdata,open_channel,to_self_delay,u16, |
83 | msgdata,open_channel,max_accepted_htlcs,u16, |
84 | msgdata,open_channel,funding_pubkey,point, |
85 | msgdata,open_channel,revocation_basepoint,point, |
86 | msgdata,open_channel,payment_basepoint,point, |
87 | msgdata,open_channel,delayed_payment_basepoint,point, |
88 | msgdata,open_channel,htlc_basepoint,point, |
89 | msgdata,open_channel,first_per_commitment_point,point, |
90 | msgdata,open_channel,channel_flags,byte, |
91 | msgdata,open_channel,tlvs,open_channel_tlvs, |
92 | tlvtype,open_channel_tlvs,upfront_shutdown_script,0 |
93 | tlvdata,open_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,... |
94 | msgtype,accept_channel,33 |
95 | msgdata,accept_channel,temporary_channel_id,byte,32 |
96 | msgdata,accept_channel,dust_limit_satoshis,u64, |
97 | msgdata,accept_channel,max_htlc_value_in_flight_msat,u64, |
98 | msgdata,accept_channel,channel_reserve_satoshis,u64, |
99 | msgdata,accept_channel,htlc_minimum_msat,u64, |
100 | msgdata,accept_channel,minimum_depth,u32, |
101 | msgdata,accept_channel,to_self_delay,u16, |
102 | msgdata,accept_channel,max_accepted_htlcs,u16, |
103 | msgdata,accept_channel,funding_pubkey,point, |
104 | msgdata,accept_channel,revocation_basepoint,point, |
105 | msgdata,accept_channel,payment_basepoint,point, |
106 | msgdata,accept_channel,delayed_payment_basepoint,point, |
107 | msgdata,accept_channel,htlc_basepoint,point, |
108 | msgdata,accept_channel,first_per_commitment_point,point, |
109 | msgdata,accept_channel,tlvs,accept_channel_tlvs, |
110 | tlvtype,accept_channel_tlvs,upfront_shutdown_script,0 |
111 | tlvdata,accept_channel_tlvs,upfront_shutdown_script,shutdown_scriptpubkey,byte,... |
112 | msgtype,funding_created,34 |
113 | msgdata,funding_created,temporary_channel_id,byte,32 |
114 | msgdata,funding_created,funding_txid,sha256, |
115 | msgdata,funding_created,funding_output_index,u16, |
116 | msgdata,funding_created,signature,signature, |
117 | msgtype,funding_signed,35 |
118 | msgdata,funding_signed,channel_id,channel_id, |
119 | msgdata,funding_signed,signature,signature, |
120 | msgtype,funding_locked,36 |
121 | msgdata,funding_locked,channel_id,channel_id, |
122 | msgdata,funding_locked,next_per_commitment_point,point, |
123 | msgtype,open_channel2,64 |
124 | msgdata,open_channel2,chain_hash,chain_hash, |
125 | msgdata,open_channel2,channel_id,channel_id, |
126 | msgdata,open_channel2,funding_feerate_perkw,u32, |
127 | msgdata,open_channel2,commitment_feerate_perkw,u32, |
128 | msgdata,open_channel2,funding_satoshis,u64, |
129 | msgdata,open_channel2,dust_limit_satoshis,u64, |
130 | msgdata,open_channel2,max_htlc_value_in_flight_msat,u64, |
131 | msgdata,open_channel2,htlc_minimum_msat,u64, |
132 | msgdata,open_channel2,to_self_delay,u16, |
133 | msgdata,open_channel2,max_accepted_htlcs,u16, |
134 | msgdata,open_channel2,locktime,u32, |
135 | msgdata,open_channel2,funding_pubkey,point, |
136 | msgdata,open_channel2,revocation_basepoint,point, |
137 | msgdata,open_channel2,payment_basepoint,point, |
138 | msgdata,open_channel2,delayed_payment_basepoint,point, |
139 | msgdata,open_channel2,htlc_basepoint,point, |
140 | msgdata,open_channel2,first_per_commitment_point,point, |
141 | msgdata,open_channel2,channel_flags,byte, |
142 | msgdata,open_channel2,tlvs,opening_tlvs, |
143 | tlvtype,opening_tlvs,option_upfront_shutdown_script,1 |
144 | tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_len,u16, |
145 | tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len |
146 | msgtype,accept_channel2,65 |
147 | msgdata,accept_channel2,channel_id,channel_id, |
148 | msgdata,accept_channel2,funding_satoshis,u64, |
149 | msgdata,accept_channel2,dust_limit_satoshis,u64, |
150 | msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64, |
151 | msgdata,accept_channel2,htlc_minimum_msat,u64, |
152 | msgdata,accept_channel2,minimum_depth,u32, |
153 | msgdata,accept_channel2,to_self_delay,u16, |
154 | msgdata,accept_channel2,max_accepted_htlcs,u16, |
155 | msgdata,accept_channel2,funding_pubkey,point, |
156 | msgdata,accept_channel2,revocation_basepoint,point, |
157 | msgdata,accept_channel2,payment_basepoint,point, |
158 | msgdata,accept_channel2,delayed_payment_basepoint,point, |
159 | msgdata,accept_channel2,htlc_basepoint,point, |
160 | msgdata,accept_channel2,first_per_commitment_point,point, |
161 | msgdata,accept_channel2,tlvs,accept_tlvs, |
162 | tlvtype,accept_tlvs,option_upfront_shutdown_script,1 |
163 | tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_len,u16, |
164 | tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len |
165 | msgtype,init_rbf,72 |
166 | msgdata,init_rbf,channel_id,channel_id, |
167 | msgdata,init_rbf,funding_satoshis,u64, |
168 | msgdata,init_rbf,locktime,u32, |
169 | msgdata,init_rbf,fee_step,byte, |
170 | msgtype,ack_rbf,73 |
171 | msgdata,ack_rbf,channel_id,channel_id, |
172 | msgdata,ack_rbf,funding_satoshis,u64, |
173 | msgtype,shutdown,38 |
174 | msgdata,shutdown,channel_id,channel_id, |
175 | msgdata,shutdown,len,u16, |
176 | msgdata,shutdown,scriptpubkey,byte,len |
177 | msgdata,shutdown,tlvs,shutdown_tlvs, |
178 | tlvtype,shutdown_tlvs,wrong_funding,100 |
179 | tlvdata,shutdown_tlvs,wrong_funding,txid,sha256, |
180 | tlvdata,shutdown_tlvs,wrong_funding,outnum,u32, |
181 | msgtype,closing_signed,39 |
182 | msgdata,closing_signed,channel_id,channel_id, |
183 | msgdata,closing_signed,fee_satoshis,u64, |
184 | msgdata,closing_signed,signature,signature, |
185 | msgtype,update_add_htlc,128 |
186 | msgdata,update_add_htlc,channel_id,channel_id, |
187 | msgdata,update_add_htlc,id,u64, |
188 | msgdata,update_add_htlc,amount_msat,u64, |
189 | msgdata,update_add_htlc,payment_hash,sha256, |
190 | msgdata,update_add_htlc,cltv_expiry,u32, |
191 | msgdata,update_add_htlc,onion_routing_packet,byte,1366 |
192 | msgtype,update_fulfill_htlc,130 |
193 | msgdata,update_fulfill_htlc,channel_id,channel_id, |
194 | msgdata,update_fulfill_htlc,id,u64, |
195 | msgdata,update_fulfill_htlc,payment_preimage,byte,32 |
196 | msgtype,update_fail_htlc,131 |
197 | msgdata,update_fail_htlc,channel_id,channel_id, |
198 | msgdata,update_fail_htlc,id,u64, |
199 | msgdata,update_fail_htlc,len,u16, |
200 | msgdata,update_fail_htlc,reason,byte,len |
201 | msgtype,update_fail_malformed_htlc,135 |
202 | msgdata,update_fail_malformed_htlc,channel_id,channel_id, |
203 | msgdata,update_fail_malformed_htlc,id,u64, |
204 | msgdata,update_fail_malformed_htlc,sha256_of_onion,sha256, |
205 | msgdata,update_fail_malformed_htlc,failure_code,u16, |
206 | msgtype,commitment_signed,132 |
207 | msgdata,commitment_signed,channel_id,channel_id, |
208 | msgdata,commitment_signed,signature,signature, |
209 | msgdata,commitment_signed,num_htlcs,u16, |
210 | msgdata,commitment_signed,htlc_signature,signature,num_htlcs |
211 | msgtype,revoke_and_ack,133 |
212 | msgdata,revoke_and_ack,channel_id,channel_id, |
213 | msgdata,revoke_and_ack,per_commitment_secret,byte,32 |
214 | msgdata,revoke_and_ack,next_per_commitment_point,point, |
215 | msgtype,update_fee,134 |
216 | msgdata,update_fee,channel_id,channel_id, |
217 | msgdata,update_fee,feerate_per_kw,u32, |
218 | msgtype,channel_reestablish,136 |
219 | msgdata,channel_reestablish,channel_id,channel_id, |
220 | msgdata,channel_reestablish,next_commitment_number,u64, |
221 | msgdata,channel_reestablish,next_revocation_number,u64, |
222 | msgdata,channel_reestablish,your_last_per_commitment_secret,byte,32 |
223 | msgdata,channel_reestablish,my_current_per_commitment_point,point, |
224 | msgtype,announcement_signatures,259 |
225 | msgdata,announcement_signatures,channel_id,channel_id, |
226 | msgdata,announcement_signatures,short_channel_id,short_channel_id, |
227 | msgdata,announcement_signatures,node_signature,signature, |
228 | msgdata,announcement_signatures,bitcoin_signature,signature, |
229 | msgtype,channel_announcement,256 |
230 | msgdata,channel_announcement,node_signature_1,signature, |
231 | msgdata,channel_announcement,node_signature_2,signature, |
232 | msgdata,channel_announcement,bitcoin_signature_1,signature, |
233 | msgdata,channel_announcement,bitcoin_signature_2,signature, |
234 | msgdata,channel_announcement,len,u16, |
235 | msgdata,channel_announcement,features,byte,len |
236 | msgdata,channel_announcement,chain_hash,chain_hash, |
237 | msgdata,channel_announcement,short_channel_id,short_channel_id, |
238 | msgdata,channel_announcement,node_id_1,point, |
239 | msgdata,channel_announcement,node_id_2,point, |
240 | msgdata,channel_announcement,bitcoin_key_1,point, |
241 | msgdata,channel_announcement,bitcoin_key_2,point, |
242 | msgtype,node_announcement,257 |
243 | msgdata,node_announcement,signature,signature, |
244 | msgdata,node_announcement,flen,u16, |
245 | msgdata,node_announcement,features,byte,flen |
246 | msgdata,node_announcement,timestamp,u32, |
247 | msgdata,node_announcement,node_id,point, |
248 | msgdata,node_announcement,rgb_color,byte,3 |
249 | msgdata,node_announcement,alias,byte,32 |
250 | msgdata,node_announcement,addrlen,u16, |
251 | msgdata,node_announcement,addresses,byte,addrlen |
252 | msgtype,channel_update,258 |
253 | msgdata,channel_update,signature,signature, |
254 | msgdata,channel_update,chain_hash,chain_hash, |
255 | msgdata,channel_update,short_channel_id,short_channel_id, |
256 | msgdata,channel_update,timestamp,u32, |
257 | msgdata,channel_update,message_flags,byte, |
258 | msgdata,channel_update,channel_flags,byte, |
259 | msgdata,channel_update,cltv_expiry_delta,u16, |
260 | msgdata,channel_update,htlc_minimum_msat,u64, |
261 | msgdata,channel_update,fee_base_msat,u32, |
262 | msgdata,channel_update,fee_proportional_millionths,u32, |
263 | msgdata,channel_update,htlc_maximum_msat,u64,,option_channel_htlc_max |
264 | msgtype,query_short_channel_ids,261,gossip_queries |
265 | msgdata,query_short_channel_ids,chain_hash,chain_hash, |
266 | msgdata,query_short_channel_ids,len,u16, |
267 | msgdata,query_short_channel_ids,encoded_short_ids,byte,len |
268 | msgdata,query_short_channel_ids,tlvs,query_short_channel_ids_tlvs, |
269 | tlvtype,query_short_channel_ids_tlvs,query_flags,1 |
270 | tlvdata,query_short_channel_ids_tlvs,query_flags,encoding_type,byte, |
271 | tlvdata,query_short_channel_ids_tlvs,query_flags,encoded_query_flags,byte,... |
272 | msgtype,reply_short_channel_ids_end,262,gossip_queries |
273 | msgdata,reply_short_channel_ids_end,chain_hash,chain_hash, |
274 | msgdata,reply_short_channel_ids_end,full_information,byte, |
275 | msgtype,query_channel_range,263,gossip_queries |
276 | msgdata,query_channel_range,chain_hash,chain_hash, |
277 | msgdata,query_channel_range,first_blocknum,u32, |
278 | msgdata,query_channel_range,number_of_blocks,u32, |
279 | msgdata,query_channel_range,tlvs,query_channel_range_tlvs, |
280 | tlvtype,query_channel_range_tlvs,query_option,1 |
281 | tlvdata,query_channel_range_tlvs,query_option,query_option_flags,bigsize, |
282 | msgtype,reply_channel_range,264,gossip_queries |
283 | msgdata,reply_channel_range,chain_hash,chain_hash, |
284 | msgdata,reply_channel_range,first_blocknum,u32, |
285 | msgdata,reply_channel_range,number_of_blocks,u32, |
286 | msgdata,reply_channel_range,sync_complete,byte, |
287 | msgdata,reply_channel_range,len,u16, |
288 | msgdata,reply_channel_range,encoded_short_ids,byte,len |
289 | msgdata,reply_channel_range,tlvs,reply_channel_range_tlvs, |
290 | tlvtype,reply_channel_range_tlvs,timestamps_tlv,1 |
291 | tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoding_type,byte, |
292 | tlvdata,reply_channel_range_tlvs,timestamps_tlv,encoded_timestamps,byte,... |
293 | tlvtype,reply_channel_range_tlvs,checksums_tlv,3 |
294 | tlvdata,reply_channel_range_tlvs,checksums_tlv,checksums,channel_update_checksums,... |
295 | subtype,channel_update_timestamps |
296 | subtypedata,channel_update_timestamps,timestamp_node_id_1,u32, |
297 | subtypedata,channel_update_timestamps,timestamp_node_id_2,u32, |
298 | subtype,channel_update_checksums |
299 | subtypedata,channel_update_checksums,checksum_node_id_1,u32, |
300 | subtypedata,channel_update_checksums,checksum_node_id_2,u32, |
301 | msgtype,gossip_timestamp_filter,265,gossip_queries |
302 | msgdata,gossip_timestamp_filter,chain_hash,chain_hash, |
303 | msgdata,gossip_timestamp_filter,first_timestamp,u32, |
304 | msgdata,gossip_timestamp_filter,timestamp_range,u32, |
305 | msgtype,onion_message,385,option_onion_messages |
306 | msgdata,onion_message,len,u16, |
307 | msgdata,onion_message,onionmsg,byte,len |
308 | msgdata,onion_message,onion_message_tlvs,onion_message_tlvs, |
309 | tlvtype,onion_message_tlvs,blinding,2 |
310 | tlvdata,onion_message_tlvs,blinding,blinding,point, |