rgb-cln/channeld/channeld_wire.csv

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