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# Shouldn't happen
2# Also shouldn't happen
3# These are due to peer.
4# Received and sent funding_locked
5#include <common/cryptomsg.h>
6#include <common/channel_config.h>
7# Begin! (passes gossipd-client fd)
8# Tell the channel that we may announce the channel's existence
9# Tell channel to offer this htlc
10# Reply; synchronous since IDs have to increment.
11# Zero failure code means success.
12# Main daemon found out the preimage for an htlc
13#include <bitcoin/preimage.h>
14# Main daemon says HTLC failed
15# Ping/pong test.
16# Channeld tells the master that the channel has been announced
17# When we receive funding_locked.
18# RCVD_ADD_COMMIT: we're now committed to their new offered HTLCs.
19# RCVD_REMOVE_COMMIT: we're now no longer committed to these HTLCs.
20#include <common/htlc_wire.h>
21# Tell peer that channel is shutting down
22# Peer told us that channel is shutting down