core-lightning/channeld/channeld_wire.csv
Rusty Russell b6d7ee1f11 common: No longer support new channels without option_static_remotekey.
We still support *existing* channels.  Just not new ones (before they could,
in theory, explicitly ask for one).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-06-19 15:54:24 +09:30

14 KiB

1#include <bitcoin/psbt.h>
2#include <bitcoin/tx.h>
3#include <channeld/inflight.h>
4#include <common/bip32.h>
5#include <common/blockheight_states.h>
6#include <common/cryptomsg.h>
7#include <common/channel_config.h>
8#include <common/channel_id.h>
9#include <common/channel_type.h>
10#include <common/derive_basepoints.h>
11#include <common/features.h>
12#include <common/fee_states.h>
13#include <wire/peer_wire.h>
14# Begin! (passes gossipd-client fd)
15# channeld->lightningd: successfully negotated reestablishment.
16# master->channeld funding hit new depth(funding locked if >= lock depth)
17# short_channel_id != NULL once we have 3+ confirmations
18# Tell channel to offer this htlc
19# Reply; synchronous since IDs have to increment.
20# Empty failure message means success.
21# Main daemon found out the preimage for an HTLC
22#include <bitcoin/preimage.h>
23# Main daemon says HTLC failed
24# When we receive channel_ready.
25# When we receive funding_locked.
26#include <common/penalty_base.h>
27# lightningd needs to track our anchor outputs on remote txs.
28# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
29# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
30# Inflight splice commitments
31#include <common/htlc_wire.h>
32#include <wally_bip32.h>
33# master->channeld: Update an active splice
34# channeld->master: Splice update complete
35# channeld->master: Lookup a transaction
36# master->channeld: Retrieved transaction
37# master->channeld: User has signed psbt and it's ready to complete
38# channeld->master: Signed psbt is completed
39# channeld->master: Splice signatures are about to be sent
40# channeld->master: A feerate error has occured
41# channeld->master: Add an inflight to the DB
42# master->channeld: Inflight saved successfully
43# channeld->master: Update inflight with sigs
44# channeld->master: A funding error has occured
45# channeld->master: A splice state error has occured
46# channeld->master: Peer rejected our splice
47# Tell peer to shut down channel.
48# Peer told us that channel is shutting down
49# Re-enable commit timer.
50# master -> channeld: do you have a memleak?
51# Peer presented proof it was from the future.
52# When we receive announcement_signatures for channel announce
53# Ask channeld to send a error message. Used in forgetting channel case.
54# Tell master channeld has sent the error message.
55# Ask channeld to quiesce.
56# Tell master we're upgrading the commitment tx.
57# Tell peer about our latest and greatest blockheight.