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

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