mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
b2ec5a9f45
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
9.9 KiB
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. |