2017-08-29 01:35:01 +09:30
|
|
|
#include <common/cryptomsg.h>
|
|
|
|
#include <common/htlc_wire.h>
|
2017-07-04 10:19:43 +09:30
|
|
|
# Begin! (passes peer fd, gossipd-client fd)
|
2017-09-27 06:32:48 +09:30
|
|
|
closing_init,2001
|
2017-07-04 10:19:43 +09:30
|
|
|
closing_init,,crypto_state,struct crypto_state
|
2017-12-18 17:11:52 +10:30
|
|
|
closing_init,,funding_txid,struct bitcoin_txid
|
2017-07-04 10:19:43 +09:30
|
|
|
closing_init,,funding_txout,u16
|
2019-02-21 14:15:55 +10:30
|
|
|
closing_init,,funding_satoshi,struct amount_sat
|
2018-07-23 11:53:03 +09:30
|
|
|
closing_init,,local_fundingkey,struct pubkey
|
2017-07-04 10:19:43 +09:30
|
|
|
closing_init,,remote_fundingkey,struct pubkey
|
|
|
|
closing_init,,funder,enum side
|
2019-02-21 14:15:55 +10:30
|
|
|
closing_init,,local_sat,struct amount_sat
|
|
|
|
closing_init,,remote_sat,struct amount_sat
|
|
|
|
closing_init,,our_dust_limit,struct amount_sat
|
|
|
|
closing_init,,min_fee_satoshi,struct amount_sat
|
|
|
|
closing_init,,fee_limit_satoshi,struct amount_sat
|
|
|
|
closing_init,,initial_fee_satoshi,struct amount_sat
|
2017-07-04 10:19:43 +09:30
|
|
|
closing_init,,local_scriptpubkey_len,u16
|
|
|
|
closing_init,,local_scriptpubkey,local_scriptpubkey_len*u8
|
|
|
|
closing_init,,remote_scriptpubkey_len,u16
|
|
|
|
closing_init,,remote_scriptpubkey,remote_scriptpubkey_len*u8
|
2017-07-05 15:03:28 +09:30
|
|
|
closing_init,,reconnected,bool
|
|
|
|
closing_init,,next_index_local,u64
|
|
|
|
closing_init,,next_index_remote,u64
|
|
|
|
closing_init,,revocations_received,u64
|
2018-04-23 19:38:02 +09:30
|
|
|
closing_init,,channel_reestablish_len,u16
|
|
|
|
closing_init,,channel_reestablish,channel_reestablish_len*u8
|
2018-10-29 14:07:11 +10:30
|
|
|
closing_init,,final_scriptpubkey_len,u16
|
|
|
|
closing_init,,final_scriptpubkey,final_scriptpubkey_len*u8
|
2017-07-04 10:19:43 +09:30
|
|
|
|
|
|
|
# We received an offer, save signature.
|
2017-09-27 06:32:48 +09:30
|
|
|
closing_received_signature,2002
|
2018-12-03 09:45:06 +10:30
|
|
|
closing_received_signature,,signature,struct bitcoin_signature
|
2017-08-18 14:13:52 +09:30
|
|
|
closing_received_signature,,tx,struct bitcoin_tx
|
2017-07-04 10:19:43 +09:30
|
|
|
|
2017-09-27 06:32:48 +09:30
|
|
|
closing_received_signature_reply,2102
|
2017-07-04 10:19:43 +09:30
|
|
|
|
|
|
|
# Negotiations complete, we're exiting.
|
2017-09-27 06:32:48 +09:30
|
|
|
closing_complete,2004
|