2017-08-28 18:05:01 +02:00
|
|
|
#include <common/cryptomsg.h>
|
|
|
|
#include <common/htlc_wire.h>
|
2017-07-04 02:49:43 +02:00
|
|
|
# Begin! (passes peer fd, gossipd-client fd)
|
2017-09-26 23:02:48 +02:00
|
|
|
closing_init,2001
|
2017-07-04 02:49:43 +02:00
|
|
|
closing_init,,crypto_state,struct crypto_state
|
2017-12-11 04:33:16 +01:00
|
|
|
closing_init,,gossip_index,u64
|
2017-07-04 02:49:43 +02:00
|
|
|
closing_init,,seed,struct privkey
|
2017-12-18 07:41:52 +01:00
|
|
|
closing_init,,funding_txid,struct bitcoin_txid
|
2017-07-04 02:49:43 +02:00
|
|
|
closing_init,,funding_txout,u16
|
|
|
|
closing_init,,funding_satoshi,u64
|
|
|
|
closing_init,,remote_fundingkey,struct pubkey
|
|
|
|
closing_init,,funder,enum side
|
|
|
|
closing_init,,local_msatoshi,u64
|
|
|
|
closing_init,,remote_msatoshi,u64
|
|
|
|
closing_init,,our_dust_limit,u64
|
|
|
|
closing_init,,min_fee_satoshi,u64
|
2018-02-02 01:46:18 +01:00
|
|
|
closing_init,,fee_limit_satoshi,u64
|
2017-07-04 02:49:43 +02:00
|
|
|
closing_init,,initial_fee_satoshi,u64
|
|
|
|
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 07:33:28 +02:00
|
|
|
closing_init,,reconnected,bool
|
|
|
|
closing_init,,next_index_local,u64
|
|
|
|
closing_init,,next_index_remote,u64
|
|
|
|
closing_init,,revocations_received,u64
|
2018-02-02 01:55:06 +01:00
|
|
|
# This means we allow closing negotiations out of bounds.
|
|
|
|
closing_init,,deprecated_api,bool
|
2017-07-04 02:49:43 +02:00
|
|
|
|
|
|
|
# We received an offer, save signature.
|
2017-09-26 23:02:48 +02:00
|
|
|
closing_received_signature,2002
|
2017-07-04 02:49:43 +02:00
|
|
|
closing_received_signature,,signature,secp256k1_ecdsa_signature
|
2017-08-18 06:43:52 +02:00
|
|
|
closing_received_signature,,tx,struct bitcoin_tx
|
2017-07-04 02:49:43 +02:00
|
|
|
|
2017-09-26 23:02:48 +02:00
|
|
|
closing_received_signature_reply,2102
|
2017-07-04 02:49:43 +02:00
|
|
|
|
|
|
|
# Negotiations complete, we're exiting.
|
2017-09-26 23:02:48 +02:00
|
|
|
closing_complete,2004
|
2017-12-11 04:33:16 +01:00
|
|
|
closing_complete,,gossip_index,u64
|