mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
27220646c3
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>
1.9 KiB
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) |
6 | msgtype,closing_init,2001 |
7 | msgdata,closing_init,chainparams,chainparams, |
8 | msgdata,closing_init,pps,per_peer_state, |
9 | msgdata,closing_init,funding_txid,bitcoin_txid, |
10 | msgdata,closing_init,funding_txout,u16, |
11 | msgdata,closing_init,funding_satoshi,amount_sat, |
12 | msgdata,closing_init,local_fundingkey,pubkey, |
13 | msgdata,closing_init,remote_fundingkey,pubkey, |
14 | msgdata,closing_init,opener,enum side, |
15 | msgdata,closing_init,local_sat,amount_sat, |
16 | msgdata,closing_init,remote_sat,amount_sat, |
17 | msgdata,closing_init,our_dust_limit,amount_sat, |
18 | msgdata,closing_init,min_fee_satoshi,amount_sat, |
19 | msgdata,closing_init,fee_limit_satoshi,amount_sat, |
20 | msgdata,closing_init,initial_fee_satoshi,amount_sat, |
21 | msgdata,closing_init,local_scriptpubkey_len,u16, |
22 | msgdata,closing_init,local_scriptpubkey,u8,local_scriptpubkey_len |
23 | msgdata,closing_init,remote_scriptpubkey_len,u16, |
24 | msgdata,closing_init,remote_scriptpubkey,u8,remote_scriptpubkey_len |
25 | msgdata,closing_init,fee_negotiation_step,u64, |
26 | msgdata,closing_init,fee_negotiation_step_unit,u8, |
27 | msgdata,closing_init,reconnected,bool, |
28 | msgdata,closing_init,next_index_local,u64, |
29 | msgdata,closing_init,next_index_remote,u64, |
30 | msgdata,closing_init,revocations_received,u64, |
31 | msgdata,closing_init,channel_reestablish_len,u16, |
32 | msgdata,closing_init,channel_reestablish,u8,channel_reestablish_len |
33 | msgdata,closing_init,last_remote_secret,secret, |
34 | msgdata,closing_init,dev_fast_gossip,bool, |
35 | # We received an offer, save signature. |
36 | msgtype,closing_received_signature,2002 |
37 | msgdata,closing_received_signature,signature,bitcoin_signature, |
38 | msgdata,closing_received_signature,tx,bitcoin_tx, |
39 | msgtype,closing_received_signature_reply,2102 |
40 | msgdata,closing_received_signature_reply,closing_txid,bitcoin_txid, |
41 | # Negotiations complete, we're exiting. |
42 | msgtype,closing_complete,2004 |