@ -15,13 +15,13 @@ opening_peer_bad_initial_message,0x8014
#include <lightningd/channel_config.h>
#include <lightningd/channel_config.h>
opening_init,0
opening_init,0
# Base configuration we'll offer (channel reserve will vary with amount)
# Base configuration we'll offer (channel reserve will vary with amount)
opening_init,0,our_config,36, struct channel_config
opening_init,0,our_config,struct channel_config
# Minimum/maximum configuration values we'll accept
# Minimum/maximum configuration values we'll accept
opening_init,36,max_to_self_delay,4
opening_init,36,max_to_self_delay,4
opening_init,40,min_effective_htlc_capacity_msat,8
opening_init,40,min_effective_htlc_capacity_msat,8
opening_init,48,crypto_state,144, struct crypto_state
opening_init,48,crypto_state,struct crypto_state
# Seed to generate all the keys from
# Seed to generate all the keys from
opening_init,196,seed,32, struct privkey
opening_init,196,seed,struct privkey
# This means we offer the open.
# This means we offer the open.
opening_open,1
opening_open,1
@ -37,14 +37,14 @@ opening_open_reply,0,remote_fundingkey,33
# Now we give the funding txid and outnum.
# Now we give the funding txid and outnum.
opening_open_funding,2
opening_open_funding,2
opening_open_funding,0,txid,32, struct sha256_double
opening_open_funding,0,txid,struct sha256_double
opening_open_funding,32,txout,2, u16
opening_open_funding,32,txout,u16
# This gives their sig, means we can broadcast tx: we're done.
# This gives their sig, means we can broadcast tx: we're done.
opening_open_funding_reply,102
opening_open_funding_reply,102
opening_open_funding_reply,0,their_config,36, struct channel_config
opening_open_funding_reply,0,their_config,struct channel_config
opening_open_funding_reply,36,first_commit_sig,64, secp256k1_ecdsa_signature
opening_open_funding_reply,36,first_commit_sig,secp256k1_ecdsa_signature
opening_open_funding_reply,100,crypto_state,144, struct crypto_state
opening_open_funding_reply,100,crypto_state,struct crypto_state
opening_open_funding_reply,244,revocation_basepoint,33
opening_open_funding_reply,244,revocation_basepoint,33
opening_open_funding_reply,277,payment_basepoint,33
opening_open_funding_reply,277,payment_basepoint,33
opening_open_funding_reply,310,delayed_payment_basepoint,33
opening_open_funding_reply,310,delayed_payment_basepoint,33
@ -55,20 +55,20 @@ opening_accept,3
opening_accept,0,min_feerate,4
opening_accept,0,min_feerate,4
opening_accept,4,max_feerate,4
opening_accept,4,max_feerate,4
opening_accept,8,len,2
opening_accept,8,len,2
opening_accept,10,msg,len, u8
opening_accept,10,msg,len* u8
# This gives the txid of their funding tx to watch.
# This gives the txid of their funding tx to watch.
opening_accept_reply,103
opening_accept_reply,103
opening_accept_reply,0,funding_txid,32, struct sha256_double
opening_accept_reply,0,funding_txid,struct sha256_double
# Acknowledge watch is in place, now can send sig.
# Acknowledge watch is in place, now can send sig.
opening_accept_finish,4
opening_accept_finish,4
opening_accept_finish_reply,104
opening_accept_finish_reply,104
opening_accept_finish_reply,32,funding_txout,2, u16
opening_accept_finish_reply,32,funding_txout,u16
opening_accept_finish_reply,0,their_config,36, struct channel_config
opening_accept_finish_reply,0,their_config,struct channel_config
opening_accept_finish_reply,36,first_commit_sig,64, secp256k1_ecdsa_signature
opening_accept_finish_reply,36,first_commit_sig,secp256k1_ecdsa_signature
opening_accept_finish_reply,100,crypto_state,144, struct crypto_state
opening_accept_finish_reply,100,crypto_state,struct crypto_state
opening_accept_finish_reply,244,remote_fundingkey,33
opening_accept_finish_reply,244,remote_fundingkey,33
opening_accept_finish_reply,277,revocation_basepoint,33
opening_accept_finish_reply,277,revocation_basepoint,33
opening_accept_finish_reply,310,payment_basepoint,33
opening_accept_finish_reply,310,payment_basepoint,33