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.
 
 
 
 
 
 

5.1 KiB

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