core-lightning/closingd/closing_wire.csv
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature.
This is prep work for when we sign htlc txs with
SIGHASH_SINGLE|SIGHASH_ANYONECANPAY.

We still deal with raw signatures for the htlc txs at the moment, since
we send them like that across the wire, and changing that was simply too
painful (for the moment?).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-06 23:11:51 +01:00

1.4 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,,funding_txid,struct bitcoin_txid
7closing_init,,funding_txout,u16
8closing_init,,funding_satoshi,u64
9closing_init,,local_fundingkey,struct pubkey
10closing_init,,remote_fundingkey,struct pubkey
11closing_init,,funder,enum side
12closing_init,,local_msatoshi,u64
13closing_init,,remote_msatoshi,u64
14closing_init,,our_dust_limit,u64
15closing_init,,min_fee_satoshi,u64
16closing_init,,fee_limit_satoshi,u64
17closing_init,,initial_fee_satoshi,u64
18closing_init,,local_scriptpubkey_len,u16
19closing_init,,local_scriptpubkey,local_scriptpubkey_len*u8
20closing_init,,remote_scriptpubkey_len,u16
21closing_init,,remote_scriptpubkey,remote_scriptpubkey_len*u8
22closing_init,,reconnected,bool
23closing_init,,next_index_local,u64
24closing_init,,next_index_remote,u64
25closing_init,,revocations_received,u64
26closing_init,,channel_reestablish_len,u16
27closing_init,,channel_reestablish,channel_reestablish_len*u8
28closing_init,,final_scriptpubkey_len,u16
29closing_init,,final_scriptpubkey,final_scriptpubkey_len*u8
30# We received an offer, save signature.
31closing_received_signature,2002
32closing_received_signature,,signature,struct bitcoin_signature
33closing_received_signature,,tx,struct bitcoin_tx
34closing_received_signature_reply,2102
35# Negotiations complete, we're exiting.
36closing_complete,2004