mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
b016ce94e8
Signed-off-by: Christian Decker <decker.christian@gmail.com>
1.9 KiB
1.9 KiB
1 | #include <common/cryptomsg.h> |
---|---|
2 | #include <common/htlc_wire.h> |
3 | #include <common/per_peer_state.h> |
4 | # Begin! (passes peer fd, gossipd-client fd) |
5 | msgtype,closing_init,2001 |
6 | msgdata,closing_init,chain_hash,chain_hash, |
7 | msgdata,closing_init,pps,per_peer_state, |
8 | msgdata,closing_init,chain_hash,bitcoin_blkid, |
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,funder,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,reconnected,bool, |
26 | msgdata,closing_init,next_index_local,u64, |
27 | msgdata,closing_init,next_index_remote,u64, |
28 | msgdata,closing_init,revocations_received,u64, |
29 | msgdata,closing_init,channel_reestablish_len,u16, |
30 | msgdata,closing_init,channel_reestablish,u8,channel_reestablish_len |
31 | msgdata,closing_init,final_scriptpubkey_len,u16, |
32 | msgdata,closing_init,final_scriptpubkey,u8,final_scriptpubkey_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 |