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.
 
 
 
 
 
 

4.8 KiB

1#include <common/derive_basepoints.h>
2#include <common/htlc_wire.h>
3#include <common/wallet.h>
4# This needs to be set explicitly since the same message also contains a
5# transaction that we need to parse correctly.
6# Remote per commit point for committed tx.
7# Remote per commit point for current tx (needed if we haven't got revoke_and_ack yet).
8# Gives an easy way to tell if it's our unilateral close or theirs...
9# We need these two for commit number obscurer
10#include <onchaind/onchain_wire.h>
11# This is all the HTLCs: one per message
12# This says we're ready; give us preimages.
13# onchaind->master: Send out a tx.
14# master->onchaind: Notifier that an output has been spent by input_num of tx.
15# master->onchaind: We know HTLC preimage
16# onchaind->master: We discovered HTLC preimage
17# onchaind->master: this HTLC was missing from commit tx.
18# onchaind->master: this HTLC has timed out (after reasonable_depth)
19# onchaind->master: this peer can be forgotten
20# master -> onchaind: do you have a memleak?
21# that we tracked automatically but only onchaind knows how to classify their
22# transactions.