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.1 KiB

1# Received and sent funding_locked
2#include <common/cryptomsg.h>
3#include <common/channel_config.h>
4# Begin! (passes gossipd-client fd)
5# FIXME: Fix generate-wire.py to allow NUM_SIDES*u32 here.
6# Tell the channel that we may announce the channel's existence
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# Ping/pong test.
14# When we receive funding_locked.
15# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
16# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
17#include <common/htlc_wire.h>
18# Tell peer that channel is shutting down
19# Peer told us that channel is shutting down
20# Re-enable commit timer.