You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

6.6 KiB

1#include <common/cryptomsg.h>
2#include <common/channel_config.h>
3#include <common/derive_basepoints.h>
4# Begin! (passes gossipd-client fd)
5# FIXME: Fix generate-wire.py to allow NUM_SIDES*u32 here.
6# master->channeld funding hit new depth >= lock depth
7# Tell channel to offer this htlc
8# Reply; synchronous since IDs have to increment.
9# Zero failure code means success.
10# Main daemon found out the preimage for an HTLC
11#include <bitcoin/preimage.h>
12# Main daemon says HTLC failed
13# When we receive funding_locked.
14# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
15# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
16#include <common/htlc_wire.h>
17# Tell peer to shut down channel.
18# Peer told us that channel is shutting down
19# Re-enable commit timer.
20# Peer presented proof it was from the future.