core-lightning/onchaind
Rusty Russell 564615d878 onchaind: accept a range of possible feerates.
We previously tried to use the commitment tx to create an initial
feerate range, then refine it as we look at each HTLC tx.  This was
wrong, because the commitment tx can underpay fees (if it can't afford
it), and our estimate of the maximum possible feerate would be too low.

Now, we only have two fees we need to figure out: HTLC timeout txs and
HTLC success txs, so simply grind them on first use.

Fixes: #1290
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-04-04 02:31:41 +00:00
..
Makefile common/daemon: common routines for all daemons. 2018-04-03 14:03:28 +02:00
onchain.c onchaind: accept a range of possible feerates. 2018-04-04 02:31:41 +00:00
onchain_types.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
onchain_wire.c Rename subdaemons, move them into top level. 2017-08-29 17:54:14 +02:00
onchain_wire.csv onchaind: Pass the funding spend height through when adding a UTXO 2018-03-27 23:17:17 +00:00
onchain_wire.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00