mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
6115ed02e8
We now let gossipd do it. This also means there's nothing left in 'struct per_peer_state' to send across the wire (the fds are sent separately), so that gets removed from wire messages too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1.8 KiB
1.8 KiB
1 | #include <bitcoin/tx.h> |
---|---|
2 | #include <common/channel_id.h> |
3 | #include <common/cryptomsg.h> |
4 | #include <common/htlc_wire.h> |
5 | #include <common/status_wire.h> |
6 | # Begin! (passes peer fd, gossipd-client fd) |
7 | msgtype,closingd_init,2001 |
8 | msgdata,closingd_init,chainparams,chainparams, |
9 | msgdata,closingd_init,channel_id,channel_id, |
10 | msgdata,closingd_init,funding,bitcoin_outpoint, |
11 | msgdata,closingd_init,funding_satoshi,amount_sat, |
12 | msgdata,closingd_init,local_fundingkey,pubkey, |
13 | msgdata,closingd_init,remote_fundingkey,pubkey, |
14 | msgdata,closingd_init,opener,enum side, |
15 | msgdata,closingd_init,local_sat,amount_sat, |
16 | msgdata,closingd_init,remote_sat,amount_sat, |
17 | msgdata,closingd_init,our_dust_limit,amount_sat, |
18 | msgdata,closingd_init,min_feerate_perksipa,u32, |
19 | msgdata,closingd_init,preferred_feerate_perksipa,u32, |
20 | msgdata,closingd_init,max_feerate_perksipa,?u32, |
21 | msgdata,closingd_init,fee_limit_satoshi,amount_sat, |
22 | msgdata,closingd_init,local_scriptpubkey_len,u16, |
23 | msgdata,closingd_init,local_scriptpubkey,u8,local_scriptpubkey_len |
24 | msgdata,closingd_init,remote_scriptpubkey_len,u16, |
25 | msgdata,closingd_init,remote_scriptpubkey,u8,remote_scriptpubkey_len |
26 | msgdata,closingd_init,fee_negotiation_step,u64, |
27 | msgdata,closingd_init,fee_negotiation_step_unit,u8, |
28 | msgdata,closingd_init,use_quickclose,bool, |
29 | msgdata,closingd_init,shutdown_wrong_funding,?bitcoin_outpoint, |
30 | # Message for any commands waiting. |
31 | msgtype,closingd_notification,2003 |
32 | msgdata,closingd_notification,level,enum log_level, |
33 | msgdata,closingd_notification,message,wirestring, |
34 | # We received an offer, save signature. |
35 | msgtype,closingd_received_signature,2002 |
36 | msgdata,closingd_received_signature,signature,bitcoin_signature, |
37 | msgdata,closingd_received_signature,tx,bitcoin_tx, |
38 | msgtype,closingd_received_signature_reply,2102 |
39 | msgdata,closingd_received_signature_reply,closing_txid,bitcoin_txid, |
40 | # Negotiations complete, we're exiting. |
41 | msgtype,closingd_complete,2004 |