core-lightning/closingd/closing_wire.csv
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness.
It's just a sha256_double, but importantly when we convert it to a
string (in type_to_string, which is used in logging) we use
bitcoin_txid_to_hex() so it's reversed as people expect.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-21 11:05:38 +00:00

1.3 KiB

1#include <common/cryptomsg.h>
2#include <common/htlc_wire.h>
3# Begin! (passes peer fd, gossipd-client fd)
4closing_init,2001
5closing_init,,crypto_state,struct crypto_state
6closing_init,,gossip_index,u64
7closing_init,,seed,struct privkey
8closing_init,,funding_txid,struct bitcoin_txid
9closing_init,,funding_txout,u16
10closing_init,,funding_satoshi,u64
11closing_init,,remote_fundingkey,struct pubkey
12closing_init,,funder,enum side
13closing_init,,local_msatoshi,u64
14closing_init,,remote_msatoshi,u64
15closing_init,,our_dust_limit,u64
16closing_init,,min_fee_satoshi,u64
17closing_init,,max_fee_satoshi,u64
18closing_init,,initial_fee_satoshi,u64
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
27# We received an offer, save signature.
28closing_received_signature,2002
29closing_received_signature,,signature,secp256k1_ecdsa_signature
30closing_received_signature,,tx,struct bitcoin_tx
31closing_received_signature_reply,2102
32# Negotiations complete, we're exiting.
33closing_complete,2004
34closing_complete,,gossip_index,u64