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.7 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# 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# Channeld tells the master to announce the channel (with first update)
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.