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

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