core-lightning/channeld/channeld_wire.csv
Rusty Russell 50eccb6a12 connectd: handle pings and pongs.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: JSON_RPC: `ping` now works with connected peers, even without a channel.
2022-02-08 11:15:52 +10:30

11 KiB

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