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