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.8 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# We need this for BIP125 rule 4
13#include <onchaind/onchaind_wire.h>
14# This is all the HTLCs: one per message
15# This says we're ready; give us preimages.
16# onchaind->master: Send out a tx.
17# If is_rbf is false then master should rebroadcast the tx.
18# If is_rbf is true then onchaind is responsible for rebroadcasting
19# it with a higher fee.
20# master->onchaind: Notifier that an output has been spent by input_num of tx.
21# master->onchaind: We know HTLC preimage
22# onchaind->master: We discovered HTLC preimage
23# onchaind->master: this HTLC was missing from commit tx.
24# onchaind->master: this HTLC has timed out (after reasonable_depth)
25# onchaind->master: this peer can be forgotten
26# master -> onchaind: do you have a memleak?
27# that we tracked automatically but only onchaind knows how to classify their
28# transactions.