core-lightning/closingd/closingd_wire.csv
Rusty Russell d970cc070e closingd: add notifications for feerate ranges.
This allows cmdline users to have more idea what's going on.

Inspired-by: https://github.com/ElementsProject/lightning/issues/4777
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: `close` now notifies about the feeranges each side uses.
2021-09-15 18:23:30 +02:00

2.0 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/per_peer_state.h>
6#include <common/status_wire.h>
7# Begin! (passes peer fd, gossipd-client fd)
8msgtype,closingd_init,2001
9msgdata,closingd_init,chainparams,chainparams,
10msgdata,closingd_init,pps,per_peer_state,
11msgdata,closingd_init,channel_id,channel_id,
12msgdata,closingd_init,funding_txid,bitcoin_txid,
13msgdata,closingd_init,funding_txout,u16,
14msgdata,closingd_init,funding_satoshi,amount_sat,
15msgdata,closingd_init,local_fundingkey,pubkey,
16msgdata,closingd_init,remote_fundingkey,pubkey,
17msgdata,closingd_init,opener,enum side,
18msgdata,closingd_init,local_sat,amount_sat,
19msgdata,closingd_init,remote_sat,amount_sat,
20msgdata,closingd_init,our_dust_limit,amount_sat,
21msgdata,closingd_init,min_feerate_perksipa,u32,
22msgdata,closingd_init,preferred_feerate_perksipa,u32,
23msgdata,closingd_init,max_feerate_perksipa,?u32,
24msgdata,closingd_init,fee_limit_satoshi,amount_sat,
25msgdata,closingd_init,local_scriptpubkey_len,u16,
26msgdata,closingd_init,local_scriptpubkey,u8,local_scriptpubkey_len
27msgdata,closingd_init,remote_scriptpubkey_len,u16,
28msgdata,closingd_init,remote_scriptpubkey,u8,remote_scriptpubkey_len
29msgdata,closingd_init,fee_negotiation_step,u64,
30msgdata,closingd_init,fee_negotiation_step_unit,u8,
31msgdata,closingd_init,use_quickclose,bool,
32msgdata,closingd_init,dev_fast_gossip,bool,
33msgdata,closingd_init,shutdown_wrong_funding,?bitcoin_outpoint,
34# Message for any commands waiting.
35msgtype,closingd_notification,2003
36msgdata,closingd_notification,level,enum log_level,
37msgdata,closingd_notification,message,wirestring,
38# We received an offer, save signature.
39msgtype,closingd_received_signature,2002
40msgdata,closingd_received_signature,signature,bitcoin_signature,
41msgdata,closingd_received_signature,tx,bitcoin_tx,
42msgtype,closingd_received_signature_reply,2102
43msgdata,closingd_received_signature_reply,closing_txid,bitcoin_txid,
44# Negotiations complete, we're exiting.
45msgtype,closingd_complete,2004