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.
 
 
 
 
 
 

3.6 KiB

1# Shouldn't happen
2# Also shouldn't happen
3# These are due to peer.
4# Received and sent funding_locked
5#include <lightningd/cryptomsg.h>
6#include <lightningd/channel_config.h>
7# Begin! You're still waiting for the tx to be buried though (passes
8# gossipd-client fd)
9# Tell the channel that we may announce the channel's existence
10# Tell channel to offer this htlc
11# Reply; synchronous since IDs have to increment.
12# Zero failure code means success.
13# Main daemon found out the preimage for an htlc
14#include <bitcoin/preimage.h>
15# Main daemon says HTLC failed
16# Peer and I are irrevocably committed to this HTLC.
17# FIXME: Add code to commit current channel state!
18# The HTLC preimage was given.
19# This HTLC failed
20# This HTLC was returned malformed
21# Ping/pong test.
22# Channeld tells the master that the channel has been announced