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# Channeld tells the master to announce the channel (with first update)
15# When we receive funding_locked.
16# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
17# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
18#include <common/htlc_wire.h>
19# Tell peer that channel is shutting down
20# Peer told us that channel is shutting down
21# Re-enable commit timer.