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.
 
 
 
 
 
 

7.0 KiB

1#include <common/cryptomsg.h>
2#include <common/channel_config.h>
3# Begin! (passes gossipd-client fd)
4# FIXME: Fix generate-wire.py to allow NUM_SIDES*u32 here.
5# Tell the channel that we may announce the channel's existence
6# Tell channel to offer this htlc
7# Reply; synchronous since IDs have to increment.
8# Zero failure code means success.
9# Main daemon found out the preimage for an HTLC
10#include <bitcoin/preimage.h>
11# Main daemon says HTLC failed
12# Ping/pong test.
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.