mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-31 21:04:24 +01:00
12 KiB
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 | # alias != NULL if zeroconf and short_channel_id == NULL |
| 15 | # short_channel_id != NULL once we have 3+ confirmations |
| 16 | # Tell channel to offer this htlc |
| 17 | # Reply; synchronous since IDs have to increment. |
| 18 | # Empty failure message means success. |
| 19 | # Main daemon found out the preimage for an HTLC |
| 20 | #include <bitcoin/preimage.h> |
| 21 | # Main daemon says HTLC failed |
| 22 | # When we receive funding_locked. |
| 23 | #include <common/penalty_base.h> |
| 24 | # RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs. |
| 25 | # RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs. |
| 26 | #include <common/htlc_wire.h> |
| 27 | #include <wally_bip32.h> |
| 28 | # Tell peer to shut down channel. |
| 29 | # Peer told us that channel is shutting down |
| 30 | # Re-enable commit timer. |
| 31 | # master -> channeld: do you have a memleak? |
| 32 | # Peer presented proof it was from the future. |
| 33 | # This is NULL if option_static_remotekey. |
| 34 | # Handle a channel-specific configuration change |
| 35 | # When we receive announcement_signatures for channel announce |
| 36 | # Ask channeld to send a error message. Used in forgetting channel case. |
| 37 | # Tell master channeld has sent the error message. |
| 38 | # Tell channeld about the latest channel_update |
| 39 | # Tell lightningd we used the latest channel_update for an error. |
| 40 | # Channeld: tell gossipd to make this channel_update. |
| 41 | # Channeld: tell gossipd about our channel_announcement |
| 42 | # Channeld: tell gossipd about this (as-yet) unannounced channel |
| 43 | # Ask channeld to quiesce. |
| 44 | # Tell master we're upgrading the commitment tx. |
| 45 | # Tell peer about our latest and greatest blockheight. |