mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd: do RBF again for all the txs.
Now we've set everything up, the replacement code is quite simple. Some tests now have to deal with RBF though, and our rbf tests need work since they look for the old onchaind messages. In particular, when we can't afford the fee we want, we back off to the next blockcount estimate, rather than spending all on fees (necessarily). So test_penalty_rbf_burn no longer applies. Changelog-Changed: Protocol: spending unilateral close transactions now use dynamic fees based on deadlines (and RBF), instead of fixed fees. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1337,7 +1337,8 @@ def test_forward_event_notification(node_factory, bitcoind, executor):
|
||||
assert blocks == 5
|
||||
bitcoind.generate_block(5)
|
||||
|
||||
bitcoind.generate_block(1, wait_for_mempool=txid)
|
||||
# Could be RBF!
|
||||
l2.mine_txid_or_rbf(txid)
|
||||
l2.daemon.wait_for_log('Resolved THEIR_UNILATERAL/OUR_HTLC by our proposal OUR_HTLC_TIMEOUT_TO_US')
|
||||
l5.daemon.wait_for_log('Ignoring output.*: OUR_UNILATERAL/THEIR_HTLC')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user