core-lightning/channeld/channeld_wire.csv
niftynei b2ec5a9f45 peer_channeld: pass over PSBT, remove second message
We need the PSBT to create the finalized tx from once the peer's
tx_signatures are received. Since we're passing the PSBT, we no longer
need the secondary message to be passed, as it was derived from the
PSBT.

Also removes now unused witness serialization code
2020-10-20 12:50:31 +10:30

9.9 KiB

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