core-lightning/closingd/closing_wire.csv
Rusty Russell 27220646c3 common/wire: move bitcoin-specific marshalling functions into bitcoin files.
We did this originally because these types are referred to in the bolts, and we
had no way of injecting the correct include lines into those.  Now we do, so
there's less excuse for this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-05-18 14:51:12 +02:00

1.9 KiB

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