rgb-cln/channeld/channeld_wire.csv

12 KiB

1#include <bitcoin/psbt.h>
2#include <bitcoin/tx.h>
3#include <common/bip32.h>
4#include <common/blockheight_states.h>
5#include <common/cryptomsg.h>
6#include <common/channel_config.h>
7#include <common/channel_id.h>
8#include <common/channel_type.h>
9#include <common/derive_basepoints.h>
10#include <common/features.h>
11#include <common/fee_states.h>
12# Begin! (passes gossipd-client fd)
13# master->channeld funding hit new depth(funding locked if >= lock depth)
14# Tell channel to offer this htlc
15# Reply; synchronous since IDs have to increment.
16# Empty failure message means success.
17# Main daemon found out the preimage for an HTLC
18#include <bitcoin/preimage.h>
19# Main daemon says HTLC failed
20# When we receive funding_locked.
21#include <common/penalty_base.h>
22# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
23# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
24#include <common/htlc_wire.h>
25#include <wally_bip32.h>
26# Tell peer to shut down channel.
27# Peer told us that channel is shutting down
28# Re-enable commit timer.
29# master -> channeld: do you have a memleak?
30# Peer presented proof it was from the future.
31# This is NULL if option_static_remotekey.
32# Handle a channel specific feerate base ppm configuration
33# When we receive announcement_signatures for channel announce
34# Ask channeld to send a error message. Used in forgetting channel case.
35# Tell master channeld has sent the error message.
36# Tell channeld about the latest channel_update
37# Tell lightningd we used the latest channel_update for an error.
38# Channeld: tell gossipd to make this channel_update.
39# Channeld: tell gossipd about our channel_announcement
40# Channeld: tell gossipd about this (as-yet) unannounced channel
41# Ask channeld to quiesce.
42# Tell master we're upgrading the commitment tx.
43# Tell peer about our latest and greatest blockheight.