mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
lightningd: code to spend anchor outputs if we want to boost commitment tx.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -183,6 +183,9 @@ u32 get_network_blockheight(const struct chain_topology *topo);
|
||||
u32 feerate_for_deadline(const struct chain_topology *topo, u32 blockcount);
|
||||
u32 smoothed_feerate_for_deadline(const struct chain_topology *topo, u32 blockcount);
|
||||
|
||||
/* Get feerate to hit this *block number*. */
|
||||
u32 feerate_for_target(const struct chain_topology *topo, u64 deadline);
|
||||
|
||||
/* Get range of feerates to insist other side abide by for normal channels.
|
||||
* If we have to guess, sets *unknown to true, otherwise false. */
|
||||
u32 feerate_min(struct lightningd *ld, bool *unknown);
|
||||
|
||||
Reference in New Issue
Block a user