core-lightning/closingd/closing_wire.csv
Rusty Russell 38d2899fbb common/per_per_state: generalize lightningd/peer_comm Part 1
Encapsulating the peer state was a win for lightningd; not surprisingly,
it's even more of a win for the other daemons, especially as we want
to add a little gossip information.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-04 01:29:39 +00:00

1.6 KiB

1#include <common/cryptomsg.h>
2#include <common/htlc_wire.h>
3#include <common/per_peer_state.h>
4# Begin! (passes peer fd, gossipd-client fd)
5closing_init,2001
6closing_init,,pps,struct per_peer_state
7closing_init,,funding_txid,struct bitcoin_txid
8closing_init,,funding_txout,u16
9closing_init,,funding_satoshi,struct amount_sat
10closing_init,,local_fundingkey,struct pubkey
11closing_init,,remote_fundingkey,struct pubkey
12closing_init,,funder,enum side
13closing_init,,local_sat,struct amount_sat
14closing_init,,remote_sat,struct amount_sat
15closing_init,,our_dust_limit,struct amount_sat
16closing_init,,min_fee_satoshi,struct amount_sat
17closing_init,,fee_limit_satoshi,struct amount_sat
18closing_init,,initial_fee_satoshi,struct amount_sat
19closing_init,,local_scriptpubkey_len,u16
20closing_init,,local_scriptpubkey,local_scriptpubkey_len*u8
21closing_init,,remote_scriptpubkey_len,u16
22closing_init,,remote_scriptpubkey,remote_scriptpubkey_len*u8
23closing_init,,reconnected,bool
24closing_init,,next_index_local,u64
25closing_init,,next_index_remote,u64
26closing_init,,revocations_received,u64
27closing_init,,channel_reestablish_len,u16
28closing_init,,channel_reestablish,channel_reestablish_len*u8
29closing_init,,final_scriptpubkey_len,u16
30closing_init,,final_scriptpubkey,final_scriptpubkey_len*u8
31closing_init,,last_remote_secret,struct secret
32# We received an offer, save signature.
33closing_received_signature,2002
34closing_received_signature,,signature,struct bitcoin_signature
35closing_received_signature,,tx,struct bitcoin_tx
36closing_received_signature_reply,2102
37closing_received_signature_reply,,closing_txid,struct bitcoin_txid
38# Negotiations complete, we're exiting.
39closing_complete,2004