mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
1b30ea4b82
This contains the zeroconf stuff, with funding_locked renamed to channel_ready. I change that everywhere, and try to fix up the comments. Also the `alias` field is called `short_channel_id`. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: Protocol: `funding_locked` is now called `channel_ready` as per latest BOLTs.
101 lines
4.3 KiB
Diff
101 lines
4.3 KiB
Diff
--- wire/peer_exp_wire.csv 2021-03-03 15:46:56.845901075 -0600
|
|
+++ - 2021-03-03 15:48:50.342984083 -0600
|
|
@@ -35,6 +31,40 @@
|
|
tlvdata,n2,tlv1,amount_msat,tu64,
|
|
tlvtype,n2,tlv2,11
|
|
tlvdata,n2,tlv2,cltv_expiry,tu32,
|
|
+msgtype,tx_add_input,66
|
|
+msgdata,tx_add_input,channel_id,channel_id,
|
|
+msgdata,tx_add_input,serial_id,u64,
|
|
+msgdata,tx_add_input,prevtx_len,u16,
|
|
+msgdata,tx_add_input,prevtx,byte,prevtx_len
|
|
+msgdata,tx_add_input,prevtx_vout,u32,
|
|
+msgdata,tx_add_input,sequence,u32,
|
|
+msgdata,tx_add_input,script_sig_len,u16,
|
|
+msgdata,tx_add_input,script_sig,byte,script_sig_len
|
|
+msgtype,tx_add_output,67
|
|
+msgdata,tx_add_output,channel_id,channel_id,
|
|
+msgdata,tx_add_output,serial_id,u64,
|
|
+msgdata,tx_add_output,sats,u64,
|
|
+msgdata,tx_add_output,scriptlen,u16,
|
|
+msgdata,tx_add_output,script,byte,scriptlen
|
|
+msgtype,tx_remove_input,68
|
|
+msgdata,tx_remove_input,channel_id,channel_id,
|
|
+msgdata,tx_remove_input,serial_id,u64,
|
|
+msgtype,tx_remove_output,69
|
|
+msgdata,tx_remove_output,channel_id,channel_id,
|
|
+msgdata,tx_remove_output,serial_id,u64,
|
|
+msgtype,tx_complete,70
|
|
+msgdata,tx_complete,channel_id,channel_id,
|
|
+msgtype,tx_signatures,71
|
|
+msgdata,tx_signatures,channel_id,channel_id,
|
|
+msgdata,tx_signatures,txid,sha256,
|
|
+msgdata,tx_signatures,num_witnesses,u16,
|
|
+msgdata,tx_signatures,witness_stack,witness_stack,num_witnesses
|
|
+subtype,witness_stack
|
|
+subtypedata,witness_stack,num_input_witness,u16,
|
|
+subtypedata,witness_stack,witness_element,witness_element,num_input_witness
|
|
+subtype,witness_element
|
|
+subtypedata,witness_element,len,u16,
|
|
+subtypedata,witness_element,witness,byte,len
|
|
msgtype,open_channel,32
|
|
msgdata,open_channel,chain_hash,chain_hash,
|
|
msgdata,open_channel,temporary_channel_id,byte,32
|
|
@@ -86,6 +116,56 @@
|
|
msgdata,channel_ready,tlvs,channel_ready_tlvs,
|
|
tlvtype,channel_ready_tlvs,short_channel_id,1
|
|
tlvdata,channel_ready_tlvs,short_channel_id,alias,short_channel_id,
|
|
+msgtype,open_channel2,64
|
|
+msgdata,open_channel2,chain_hash,chain_hash,
|
|
+msgdata,open_channel2,channel_id,channel_id,
|
|
+msgdata,open_channel2,funding_feerate_perkw,u32,
|
|
+msgdata,open_channel2,commitment_feerate_perkw,u32,
|
|
+msgdata,open_channel2,funding_satoshis,u64,
|
|
+msgdata,open_channel2,dust_limit_satoshis,u64,
|
|
+msgdata,open_channel2,max_htlc_value_in_flight_msat,u64,
|
|
+msgdata,open_channel2,htlc_minimum_msat,u64,
|
|
+msgdata,open_channel2,to_self_delay,u16,
|
|
+msgdata,open_channel2,max_accepted_htlcs,u16,
|
|
+msgdata,open_channel2,locktime,u32,
|
|
+msgdata,open_channel2,funding_pubkey,point,
|
|
+msgdata,open_channel2,revocation_basepoint,point,
|
|
+msgdata,open_channel2,payment_basepoint,point,
|
|
+msgdata,open_channel2,delayed_payment_basepoint,point,
|
|
+msgdata,open_channel2,htlc_basepoint,point,
|
|
+msgdata,open_channel2,first_per_commitment_point,point,
|
|
+msgdata,open_channel2,channel_flags,byte,
|
|
+msgdata,open_channel2,tlvs,opening_tlvs,
|
|
+tlvtype,opening_tlvs,option_upfront_shutdown_script,1
|
|
+tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_len,u16,
|
|
+tlvdata,opening_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len
|
|
+msgtype,accept_channel2,65
|
|
+msgdata,accept_channel2,channel_id,channel_id,
|
|
+msgdata,accept_channel2,funding_satoshis,u64,
|
|
+msgdata,accept_channel2,dust_limit_satoshis,u64,
|
|
+msgdata,accept_channel2,max_htlc_value_in_flight_msat,u64,
|
|
+msgdata,accept_channel2,htlc_minimum_msat,u64,
|
|
+msgdata,accept_channel2,minimum_depth,u32,
|
|
+msgdata,accept_channel2,to_self_delay,u16,
|
|
+msgdata,accept_channel2,max_accepted_htlcs,u16,
|
|
+msgdata,accept_channel2,funding_pubkey,point,
|
|
+msgdata,accept_channel2,revocation_basepoint,point,
|
|
+msgdata,accept_channel2,payment_basepoint,point,
|
|
+msgdata,accept_channel2,delayed_payment_basepoint,point,
|
|
+msgdata,accept_channel2,htlc_basepoint,point,
|
|
+msgdata,accept_channel2,first_per_commitment_point,point,
|
|
+msgdata,accept_channel2,tlvs,accept_tlvs,
|
|
+tlvtype,accept_tlvs,option_upfront_shutdown_script,1
|
|
+tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_len,u16,
|
|
+tlvdata,accept_tlvs,option_upfront_shutdown_script,shutdown_scriptpubkey,byte,shutdown_len
|
|
+msgtype,init_rbf,72
|
|
+msgdata,init_rbf,channel_id,channel_id,
|
|
+msgdata,init_rbf,funding_satoshis,u64,
|
|
+msgdata,init_rbf,locktime,u32,
|
|
+msgdata,init_rbf,funding_feerate_perkw,u32,
|
|
+msgtype,ack_rbf,73
|
|
+msgdata,ack_rbf,channel_id,channel_id,
|
|
+msgdata,ack_rbf,funding_satoshis,u64,
|
|
msgtype,shutdown,38
|
|
msgdata,shutdown,channel_id,channel_id,
|
|
msgdata,shutdown,len,u16,
|