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